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: I2c0bdffb80979954021203c798cf9bce56eca7d6
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id:
|
||
|---|---|---|
| .. | ||
| acpi | ||
| chip.h | ||
| crosec_proto.c | ||
| ec.c | ||
| ec.h | ||
| ec_commands.h | ||
| ec_i2c.c | ||
| ec_lpc.c | ||
| ec_mec.c | ||
| ec_message.h | ||
| ec_spi.c | ||
| Kconfig | ||
| Makefile.inc | ||
| smihandler.c | ||
| smm.h | ||
| switches.c | ||
| vboot_storage.c | ||
| vstore.c | ||