]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/PlatformPei/Fv.c
OvmfPkg/PlatformPei: Shrink memory range for PCI MMIO allocation
[mirror_edk2.git] / OvmfPkg / PlatformPei / Fv.c
index f9e263520858b3cc67ecf535174982d80b0cf0e3..f389e277c958a937f9218bf65100452e737635b2 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Build FV related hobs for platform.\r
 \r
-  Copyright (c) 2006 - 2010, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   http://opensource.org/licenses/bsd-license.php\r
@@ -33,8 +33,6 @@ PeiFvInitialization (
   VOID\r
   )\r
 {\r
-  EFI_PHYSICAL_ADDRESS        FdBase;\r
-\r
   DEBUG ((EFI_D_ERROR, "Platform PEI Firmware Volume Initialization\n"));\r
 \r
   DEBUG (\r
@@ -44,7 +42,6 @@ PeiFvInitialization (
       )\r
     );\r
 \r
-  FdBase = PcdGet32 (PcdOvmfMemFvBase) - PcdGet32 (PcdVariableStoreSize) - PcdGet32 (PcdFlashNvStorageFtwSpareSize);\r
   BuildFvHob (PcdGet32 (PcdOvmfMemFvBase), PcdGet32 (PcdOvmfMemFvSize));\r
 \r
   //\r