diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2022-12-05 14:43:46 -0700 |
---|---|---|
committer | Karthik Ramasubramanian <kramasub@google.com> | 2022-12-16 01:23:03 +0000 |
commit | f2dcd9dd81575aa74cb695feeae4135014402205 (patch) | |
tree | 725426fec49b0d4dd8bf41adf4c791ad5c5aaa23 /src/soc/sifive | |
parent | d901077335aaaf69117c28f05abfc66b036876b4 (diff) |
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>
Diffstat (limited to 'src/soc/sifive')
0 files changed, 0 insertions, 0 deletions