Nicolas Boichat has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/49113 )
Change subject: ec/google/chromeec: Check AP reset cause for watchdog reset
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/49113/2/src/ec/google/chromeec/ec.c
File src/ec/google/chromeec/ec.c:
https://review.coreboot.org/c/coreboot/+/49113/2/src/ec/google/chromeec/ec.c...
PS2, Line 1009: if (resp.recent_ap_reset[i].reset_cause ==
: CHIPSET_RESET_AP_WATCHDOG)
: return true;
: break;
Is this better? (took me a bit to understand what that break is about ,-) )
return (resp.recent_ap_reset[i].reset_cause == CHIPSET_RESET_AP_WATCHDOG);
--
To view, visit
https://review.coreboot.org/c/coreboot/+/49113
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I761ecdd8811e5612b39e96c73442cc796361d0f0
Gerrit-Change-Number: 49113
Gerrit-PatchSet: 2
Gerrit-Owner: Yu-Ping Wu
yupingso@google.com
Gerrit-Reviewer: Hung-Te Lin
hungte@chromium.org
Gerrit-Reviewer: Nicolas Boichat
drinkcat@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Nicolas Boichat
drinkcat@chromium.org
Gerrit-CC: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-CC: Yilun Lin
yllin@google.com
Gerrit-Comment-Date: Thu, 07 Jan 2021 03:18:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment