From e323321e2e36b876e62da2b3a9056795180e5f48 Mon Sep 17 00:00:00 2001 From: lushifex Date: Mon, 4 Sep 2017 16:22:16 +0800 Subject: Vlv2TbltDevicePkg: Upgrade core to UDK2017. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex --- Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbService.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'Vlv2TbltDevicePkg/FvbRuntimeDxe') 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.
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
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. @@ -1030,13 +1029,6 @@ FvbInitialize ( PlatformFvBaseAddress[2] = PcdGet32 (PcdFlashFvRecoveryBase); } - // - // 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. // -- cgit v1.2.3