coreboot-kgpe-d16/src/soc
Martin Roth 50cca76e54 soc/amd/picasso: Reboot for recovery if no psp workbuf is found
Instead of halting if the vboot workbuf is not passed to coreboot by the
PSP, reset and reboot into recovery mode.

This process is made more difficult because if the workbuf isn't
available, we can't reboot directly into recovery - the workbuf is
needed for that process to be done through the regular calls, and we
don't want to go around the vboot API and just write into VBNV directly.
To overcome this, we set a CMOS flag, and reset the system.
PSP_verstage checks for this flag so it will update VBNV and reset the
system after generating the workbuf.

BUG=b:152638343
TEST=Simulate the workbuf not being present and verify the reboot
process.

Signed-off-by: Martin Roth <martinroth@chromium.org>
Change-Id: I049db956a5209904b274747be28ff226ce542316
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44538
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2020-08-24 23:41:07 +00:00
..
amd soc/amd/picasso: Reboot for recovery if no psp workbuf is found 2020-08-24 23:41:07 +00:00
cavium src: Remove unused 'include <types.h>' 2020-07-14 16:10:17 +00:00
intel mrc_cache: Add mrc_cache fetch functions to support non-x86 platforms 2020-08-24 23:30:50 +00:00
mediatek src: Remove unused 'include <delay.h>' 2020-08-18 12:19:18 +00:00
nvidia src: Remove unused 'include <stddef.h> 2020-08-18 12:15:44 +00:00
qualcomm src: Remove unused 'include <delay.h>' 2020-08-18 12:19:18 +00:00
rockchip src/soc/rockchip: Add missing <{stddef,stdint}.h> 2020-07-29 09:37:22 +00:00
samsung src/soc/samsung/exynos{5250,s5420}: Add missing <{stddef,stdint}.h> 2020-07-29 09:34:55 +00:00
sifive soc/sifive: Drop unneeded empty lines 2020-08-24 09:16:48 +00:00
ti cpu/ti/am335x: Move from cpu to soc in tree 2020-08-19 07:17:37 +00:00
ucb soc/ucb/riscv: Add chip_operations stub 2020-05-28 09:30:35 +00:00