Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44189 )
Change subject: mb/google/dedede: Add a board specific reset
......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44189/4/src/mainboard/google/dedede...
File src/mainboard/google/dedede/mainboard.c:
https://review.coreboot.org/c/coreboot/+/44189/4/src/mainboard/google/dedede...
PS4, Line 15: google_chromeec_ap_reset();
I think you should check the return value and halt() if it succeeded, i.e.,
if (google_chromeec_ap_reset())
halt();
and wait for the EC to reset. Otherwise, you could fall through into the global reset and then it's a race for which reset happens first
--
To view, visit
https://review.coreboot.org/c/coreboot/+/44189
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib1f7271130e0b4b68c7f0917ecc4eadba1486206
Gerrit-Change-Number: 44189
Gerrit-PatchSet: 4
Gerrit-Owner: Karthik Ramasubramanian
kramasub@google.com
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Justin TerAvest
teravest@chromium.org
Gerrit-Reviewer: Marco Chen
marcochen@google.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Henry Sun
henrysun@google.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-CC: Zhuohao Lee
zhuohao@google.com
Gerrit-Comment-Date: Tue, 11 Aug 2020 18:33:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment