summaryrefslogtreecommitdiff
path: root/Vlv2TbltDevicePkg/PlatformDxe/Platform.c
diff options
context:
space:
mode:
authorGuo Mang <mang.guo@intel.com>2017-09-16 11:08:41 +0800
committerGuo Mang <mang.guo@intel.com>2017-09-16 11:08:41 +0800
commit4e8b56192fe1330d31e9cba0fe233f491da906d3 (patch)
treee48a4597c407688161bacbfd1f6233c0665e9318 /Vlv2TbltDevicePkg/PlatformDxe/Platform.c
parentd38569c2975993a149da32fc6b152e03a15e11c6 (diff)
downloadedk2-platforms-4e8b56192fe1330d31e9cba0fe233f491da906d3.tar.xz
Vlv2TbltDevicePkg: Changed value of PcdFlashAreaBaseAddress
The PCD PcdFlashAreaBaseAddress should be 0xFF800000, but it's 0xFFC00000 due to wrong value assignment in platform fdf. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Guo Mang <mang.guo@intel.com>
Diffstat (limited to 'Vlv2TbltDevicePkg/PlatformDxe/Platform.c')
-rw-r--r--Vlv2TbltDevicePkg/PlatformDxe/Platform.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Vlv2TbltDevicePkg/PlatformDxe/Platform.c b/Vlv2TbltDevicePkg/PlatformDxe/Platform.c
index 3d8cbe0ed5..ad18da5c61 100644
--- a/Vlv2TbltDevicePkg/PlatformDxe/Platform.c
+++ b/Vlv2TbltDevicePkg/PlatformDxe/Platform.c
@@ -1,6 +1,6 @@
/** @file
- Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
@@ -442,13 +442,13 @@ SpiBiosProtectionFunction(
UINTN BiosFlaLimit1;
- BiosFlaLower0 = PcdGet32(PcdFlashMicroCodeAddress)-PcdGet32(PcdFlashAreaBaseAddress);
+ BiosFlaLower0 = PcdGet32(PcdFlashMicroCodeAddress)-PcdGet32(PcdBiosImageBase);
BiosFlaLimit0 = PcdGet32(PcdFlashMicroCodeSize)-1;
#ifdef MINNOW2_FSP_BUILD
- BiosFlaLower1 = PcdGet32(PcdFlashFvFspBase)-PcdGet32(PcdFlashAreaBaseAddress);
+ BiosFlaLower1 = PcdGet32(PcdFlashFvFspBase)-PcdGet32(PcdBiosImageBase);
BiosFlaLimit1 = (PcdGet32(PcdFlashFvRecoveryBase)-PcdGet32(PcdFlashFvFspBase)+PcdGet32(PcdFlashFvRecoverySize))-1;
#else
- BiosFlaLower1 = PcdGet32(PcdFlashFvMainBase)-PcdGet32(PcdFlashAreaBaseAddress);
+ BiosFlaLower1 = PcdGet32(PcdFlashFvMainBase)-PcdGet32(PcdBiosImageBase);
BiosFlaLimit1 = (PcdGet32(PcdFlashFvRecoveryBase)-PcdGet32(PcdFlashFvMainBase)+PcdGet32(PcdFlashFvRecoverySize))-1;
#endif