coreboot/src/drivers
Aamir Bohra 69cd62c751 intel/fsp2_0: Set boot mode default as per s3wake status
Currently bootmode default is set to FSP_BOOT_WITH_FULL_CONFIGURATION
and bootmode UPD is updated in fsp_fill_mrc_cache based on mrc cache data
validity. With current implementation in S3 resume path, if mrc cache
data is invalid, the bootmode is not updated further and remains set
at FSP_BOOT_WITH_FULL_CONFIGURATION. This results in fsp-m to get
incorrect boot mode context and reinitialize memory in S3 resume
path. In correct flow fspm should have correct bootmode context
i.e. S3 resume and return error in case mrc cache data is invalid
or not found.

BUG=b:70973961
BRANCH=None
TEST=Verify correct bootmode is set on S3 resume, even when
     mrc cache data is invalid.

Change-Id: Idc0da6ffbfe5ce616d852908a9b0074dc8ce7cbe
Signed-off-by: Aamir Bohra <aamir.bohra@intel.com>
Reviewed-on: https://review.coreboot.org/23156
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2018-01-11 02:05:16 +00:00
..
amd/agesa AGESA: Move API interface under drivers/ 2017-09-26 10:07:07 +00:00
ams include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
aspeed src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
ati/ragexl src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
dec/21143 kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
elog elog: Support logging S0ix sleep/wake info in elog 2017-10-19 00:42:49 +00:00
emulation/qemu src/drivers: Add license headers 2017-06-12 04:08:14 +02:00
generic device: acpi_name() should take a const struct device 2017-09-14 14:34:27 +00:00
gic arm64: Remove cpu intialization through device-tree 2015-11-07 03:29:35 +01:00
i2c ic2/designware: Move Intel i2c logic to shared driver 2017-12-22 16:39:42 +00:00
intel intel/fsp2_0: Set boot mode default as per s3wake status 2018-01-11 02:05:16 +00:00
ipmi src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
lenovo drvs/lenovo/hybrid_graphics/romstage: Fix dGPU activation 2017-12-20 16:52:06 +00:00
maxim include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
mrc_cache drivers/mrc_cache: Make CACHE_MRC_SETTINGS not selectable 2017-12-24 14:02:22 +00:00
net drivers/net: add SSDT ACPI declaration and WOL feature 2017-11-27 02:44:02 +00:00
parade include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
pc80 drivers/pc80/tpm: Remove unused ACPI opregion 2017-12-14 22:51:05 +00:00
ricoh/rce822 buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
siemens/nc_fpga src: Fix all Siemens copyrights 2017-11-07 12:33:51 +00:00
sil/3114 src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
spi spi/tpm: Clear pending irqs during tpm2_init 2017-12-18 00:37:44 +00:00
ti include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
uart drivers/uart8250mem: Check for zero base address 2017-10-16 00:12:35 +00:00
usb drivers/usb/Kconfig: remove USBDEBUG_DONGLE_BEAGLEBONE_BLACK 2017-09-28 01:32:49 +00:00
xgi src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
xpowers/axp209 include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00