summaryrefslogtreecommitdiff
path: root/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c
diff options
context:
space:
mode:
Diffstat (limited to 'Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c')
-rw-r--r--Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c b/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c
index 723728ad65..f86db18208 100644
--- a/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c
+++ b/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c
@@ -1017,11 +1017,11 @@ FvbInitialize (
UINTN Idx;
UINT32 MaxLbaSize;
BOOLEAN FvHeaderValid;
-EFI_BOOT_MODE BootMode;
-UINT32 PlatformFvBaseAddress[2];
-UINT32 PlatformFvBaseAddressCount;
-UINT32 PlatformFvLockList[3];
-UINT32 PlatformFvLockListCount;
+ EFI_BOOT_MODE BootMode;
+ UINT32 PlatformFvBaseAddress[3];
+ UINT32 PlatformFvBaseAddressCount;
+ UINT32 PlatformFvLockList[2];
+ UINT32 PlatformFvLockListCount;
//
// This platform driver knows there are 3 FVs on
// FD, which are FvRecovery, FvMain and FvNvStorage.
@@ -1034,7 +1034,7 @@ UINT32 PlatformFvLockListCount;
PlatformFvBaseAddressCount = 1;
PlatformFvBaseAddress[0] = PcdGet32 (PcdFlashNvStorageVariableBase);
} else {
- PlatformFvBaseAddressCount = 2;
+ PlatformFvBaseAddressCount = 3;
PlatformFvBaseAddress[0] = PcdGet32 (PcdFlashFvMainBase);
PlatformFvBaseAddress[1] = PcdGet32 (PcdFlashNvStorageVariableBase);
PlatformFvBaseAddress[2] = PcdGet32 (PcdFlashFvRecoveryBase);
@@ -1043,7 +1043,7 @@ UINT32 PlatformFvLockListCount;
//
// List of FVs that should be write protected on normal boots.
//
- PlatformFvLockListCount = 1;
+ PlatformFvLockListCount = 2;
PlatformFvLockList[0] = PcdGet32 (PcdFlashFvMainBase);
PlatformFvLockList[1] = PcdGet32 (PcdFlashFvRecoveryBase);