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.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c b/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c
index f444af1452..646eadd4ed 100644
--- a/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c
+++ b/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c
@@ -4,7 +4,7 @@
Firmware volume block driver for FWH or SPI device.
It depends on which Flash Device Library to be linked with this driver.
-Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
@@ -1010,8 +1010,7 @@ FvbInitialize (
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.
@@ -1031,13 +1030,6 @@ FvbInitialize (
}
//
- // List of FVs that should be write protected on normal boots.
- //
- PlatformFvLockListCount = 2;
- PlatformFvLockList[0] = PcdGet32 (PcdFlashFvMainBase);
- PlatformFvLockList[1] = PcdGet32 (PcdFlashFvRecoveryBase);
-
- //
// Calculate the total size for all firmware volume block instances.
//
BufferSize = 0;