coreboot-kgpe-d16/src/ec
Aaron Durbin 96a4317fa9 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>
2017-02-07 17:45:05 +01:00
..
acpi ec/acpi: Include ec.c unconditionally in romstage 2016-11-09 10:05:18 +01:00
compal/ene932 ec/ene932: correct ACPI battery data fed into ToString() 2016-12-15 23:39:04 +01:00
google/chromeec ec/google/chromeec: let platform prepare for reboot when resetting EC 2017-02-07 17:45:05 +01:00
kontron/it8516e sio/acpi: Add more magic bytes to ENTER/EXIT_CONFIG_MODE 2016-12-07 20:01:50 +01:00
lenovo buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
purism/librem ec: Add support for EC used on Purism Librem laptops 2016-01-21 02:31:34 +01:00
quanta src/ec: Improve code formatting 2016-09-07 13:55:05 +02:00
roda/it8518 ec/roda/it8518: Add another embedded controller 2016-11-21 15:07:26 +01:00
smsc/mec1308 Workaround for unused variable warning. 2016-02-09 19:58:14 +01:00
ec.h mainboards,ec: provide common declaration for mainboard_ec_init() 2016-09-26 23:53:12 +02:00