diff options
author | Aaron Durbin <adurbin@chromium.org> | 2017-02-06 10:08:45 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-02-07 17:45:05 +0100 |
commit | 96a4317fa9543a0d07e34bae3d40da810554411f (patch) | |
tree | d1d0d2061576df29c106341ed0cb85bacb5a5a2c /src/drivers/usb/Makefile.inc | |
parent | 4f803ac28f4672cbf9ea8de92fb4ed680e582724 (diff) |
ec/google/chromeec: let platform prepare for reboot when resetting EC
This fixes an issue on systems where the S3 state in the pm1 control
registers are not cleared when vboot determines recovery mode is
required on an S3 resume. The EC code will reboot the system knowing
that the EC was in RW. However, on subsequent entry into romstage the
S3 path will be taken and fails to recover cbmem -- forcing another
reboot. To work around that, signal to the platform a reboot is
happening and let the platform perform the necessary fix ups to the
register state.
BUG=chrome-os-partner:62627
Change-Id: Ic144b11b4968c92a1273b8d9eb9dc10f0056bf3d
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/18295
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/drivers/usb/Makefile.inc')
0 files changed, 0 insertions, 0 deletions