summaryrefslogtreecommitdiff
path: root/Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c
diff options
context:
space:
mode:
authorlushifex <shifeix.a.lu@intel.com>2017-09-04 16:22:16 +0800
committerGuo Mang <mang.guo@intel.com>2017-09-05 19:46:06 +0800
commite323321e2e36b876e62da2b3a9056795180e5f48 (patch)
tree13837f2b70ae954cee456fddb61b8360d1d8764f /Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c
parentc365ab11ecc241e56f09b57aff187a442b76907a (diff)
downloadedk2-platforms-e323321e2e36b876e62da2b3a9056795180e5f48.tar.xz
Vlv2TbltDevicePkg: Upgrade core to UDK2017.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex <shifeix.a.lu@intel.com>
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;