coreboot-kgpe-d16/src/security
Karthikeyan Ramasubramanian f2dcd9dd81 security/vboot: Update vbnv_init signature
If the temporary nvdata storage inside the vboot context is already
initialized then return immediately without reinitializing from the
backup NV storage. This allows vbnv_init to be called more than once.

Also the check to enable USB Device Controller (UDC) happens after
NVdata is initialized. Hence the nvdata in vboot context can be used
instead of reading from the backup storage again.

BUG=b:242825052
TEST=Build Skyrim BIOS image and boot to OS in Skyrim.

Change-Id: Id72709e2fc3fe6a12ee96df8df25e55cf11e50a7
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70380
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2022-12-16 01:23:03 +00:00
..
intel treewide: Include <device/mmio.h> instead of <arch/mmio.h> 2022-12-10 05:07:14 +00:00
lockdown
memory security/memory/memory.h: Add <stdbool.h> 2022-10-06 17:01:52 +00:00
tpm security/tpm: remove tis_close() 2022-12-05 14:46:43 +00:00
vboot security/vboot: Update vbnv_init signature 2022-12-16 01:23:03 +00:00
Kconfig
Makefile.inc