coreboot/src/commonlib
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
..
bsd commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
include/commonlib vboot: push clear recovery mode switch until BS_WRITE_TABLES 2020-02-17 08:08:19 +00:00
storage src/commonlib/storage: Fix typos 2020-01-10 15:25:52 +00:00
cbfs.c AUTHORS: Move src/commonlib copyrights into AUTHORS file 2019-09-10 12:50:35 +00:00
fsp_relocate.c commonlib/fsp_relocate: Fix typos 2019-12-19 17:50:22 +00:00
iobuf.c AUTHORS: Move src/commonlib copyrights into AUTHORS file 2019-09-10 12:50:35 +00:00
Makefile.inc commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
mem_pool.c AUTHORS: Move src/commonlib copyrights into AUTHORS file 2019-09-10 12:50:35 +00:00
region.c region: publicize region_end() and add region_device_end() 2019-11-11 10:28:09 +00:00
sort.c AUTHORS: Move src/commonlib copyrights into AUTHORS file 2019-09-10 12:50:35 +00:00