coreboot-kgpe-d16/src/mainboard/intel/galileo
Joel Kitching 81726663bc vboot: push clear recovery mode switch until BS_WRITE_TABLES
Serves two purposes:

(1) On some platforms, FSP initialization may cause a reboot.
Push clearing the recovery mode switch until after FSP code runs,
so that a manual recovery request (three-finger salute) will
function correctly under this condition.

(2) The recovery mode switch value is needed at BS_WRITE_TABLES
for adding an event to elog.  (Previously this was done by
stashing the value in CBMEM_ID_EC_HOSTEVENT.)

BUG=b:124141368, b:35576380
TEST=make clean && make test-abuild
BRANCH=none

Change-Id: I30c02787c620b937e5a50a5ed94ac906e3112dad
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38779
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2020-02-17 08:08:19 +00:00
..
acpi_tables.c mb/intel/{galileo,wtm2}: Use macro instead of magic number 2019-10-04 16:26:38 +00:00
board_info.txt
devicetree.cb
dsdt.asl
gen1.h
gen2.h
gpio.c
Kconfig mb/*/*/Kconfig: Drop redundant redeclaration of MAINBOARD_VENDOR 2019-11-28 10:52:27 +00:00
Kconfig.name
mainboard.c
Makefile.inc
reg_access.c
reg_access.h
romstage.c
sd.c
vboot.c vboot: push clear recovery mode switch until BS_WRITE_TABLES 2020-02-17 08:08:19 +00:00
vboot.fmd