-#\r
-#\r
-# Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved\r
-# \r\r
-# This program and the accompanying materials are licensed and made available under\r\r
-# the terms and conditions of the BSD License that accompanies this distribution. \r\r
-# The full text of the license may be found at \r\r
-# http://opensource.org/licenses/bsd-license.php. \r\r
-# \r\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r
-# \r\r
-#\r
-# This PEIM includes 3 parts, pre memory initialization, MRC\r
-# wrapper and post memory initialization.\r
-# On pre memory, following action is performed,\r
-# 1. Initizluize GMCH.\r
-# 2. Detect boot mode.\r
-# 3. Detect video adapter to determine whether we need pre allocated\r
-# memory.\r
-#\r
-# After that MRC wrapper calls MRC to initialize memory and install a PPI\r
-# notify to do post memory\r
-# initialization. MRC wrapper performance following actions,\r
-# 1. Install EFI Memory.\r
-# 2. Capsule coalesce if capsule boot mode.\r
-# 3. Create HOB of system memory.\r
-# Note: MRC supports 3 kinds of chipsets including Lakeport, Glenwood and Mukilteo,\r
-# so please don't define MACRO MUKILTEO_SUPPORT on Lakeport here.\r
-#\r
-# On post memory, following action is performed,\r
-# 1. TC initialization after MRC.\r
-# 2. SIO initialization.\r
-# 3. Install ResetSystem and FinvFv PPI, relocate Stall to memory on\r
-# recovery boot mode.\r
-# 4. Set MTRR for PEI\r
-# 5. Create FV HOB and Flash HOB\r
-# 6. Install RecoveryModule and AtaController PPI if on recovery boot mode.\r
-#\r
-# This PEIM does not have any register access directly, it depends on\r
-# IntelTCLib, TCAccess libraries to access Chipset\r
-# registers.\r
-#\r
-# Platform.c - Provide main flow and entrypoint of PEIM.\r
-# MemoryCallback.c - Includes a memory call back function notified when\r
-# MRC is done.\r
-#\r
-#\r
-\r
-[Defines]\r
- INF_VERSION = 0x00010005\r
- BASE_NAME = PlatformPeim\r
- FILE_GUID = 9618C0DC-50A4-496c-994F-7241F282ED01\r
- MODULE_TYPE = PEIM\r
- VERSION_STRING = 1.0\r
- ENTRY_POINT = PeiInitPlatform\r
- PI_SPECIFICATION_VERSION = 0x0001000A\r
-\r
-[sources.common]\r
- Platform.c\r
- Platform.h\r
- MemoryCallback.c\r
- CommonHeader.h\r
- Stall.c\r
- BootMode.c\r
-\r
-\r
-[Packages]\r
- MdePkg/MdePkg.dec\r
- MdeModulePkg/MdeModulePkg.dec\r
- Vlv2TbltDevicePkg/PlatformPkg.dec\r
- IntelFrameworkPkg/IntelFrameworkPkg.dec\r
- Vlv2DeviceRefCodePkg/Vlv2DeviceRefCodePkg.dec\r
- IA32FamilyCpuPkg/IA32FamilyCpuPkg.dec\r
- UefiCpuPkg/UefiCpuPkg.dec\r
- CryptoPkg/CryptoPkg.dec\r
-\r
-[LibraryClasses]\r
- PeimEntryPoint\r
- DebugLib\r
- HobLib\r
- IoLib\r
- MultiPlatformLib\r
- MtrrLib\r
- PerformanceLib\r
- MonoStatusCodeLib\r
- BaseCryptLib\r
- PciLib\r
-\r
-[Ppis]\r
- gEfiPeiStallPpiGuid\r
- gPeiSpeakerInterfacePpiGuid\r
- gEfiPeiMemoryDiscoveredPpiGuid\r
- gVlvPolicyPpiGuid\r
- gEfiPeiReadOnlyVariable2PpiGuid\r
- gEfiPeiResetPpiGuid\r
- gEfiEndOfPeiSignalPpiGuid\r
- gEfiFindFvPpiGuid\r
- gPeiCapsulePpiGuid\r
- gEfiPeiBootInRecoveryModePpiGuid\r
- gEfiPeiRecoveryModulePpiGuid\r
- gEfiPeiDeviceRecoveryModulePpiGuid\r
- gPeiCachePpiGuid\r
- gEfiPeiMasterBootModePpiGuid\r
- gEfiPeiSmbusPpiGuid\r
- gPeiMfgMemoryTestPpiGuid\r
- gPeiSha256HashPpiGuid\r
- gVlvMmioPolicyPpiGuid\r
- gSeCfTPMPolicyPpiGuid\r
-\r
-[Guids]\r
- gEfiSetupVariableGuid\r
- gEfiPlatformInfoGuid\r
- gEfiPlatformBootModeGuid\r
- gEfiPlatformCpuInfoGuid\r
- gEfiGlobalVariableGuid\r
- gRecoveryOnFatFloppyDiskGuid\r
- gRecoveryOnFatUsbDiskGuid\r
- gRecoveryOnFatIdeDiskGuid\r
- gRecoveryOnDataCdGuid\r
- gMfgModeVariableGuid\r
- gEfiNormalSetupGuid\r
- gEfiVlv2VariableGuid\r
-\r
-[Pcd.common]\r
- gPlatformModuleTokenSpaceGuid.PcdFlashFvMainBase\r
- gPlatformModuleTokenSpaceGuid.PcdFlashFvMainSize\r
- gPlatformModuleTokenSpaceGuid.PcdFlashFvRecovery2Base\r
- gPlatformModuleTokenSpaceGuid.PcdFlashFvRecovery2Size\r
- gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress\r
- gPlatformModuleTokenSpaceGuid.PcdFlashAreaBaseAddress\r
- gPlatformModuleTokenSpaceGuid.PcdFlashAreaSize\r
-[Depex]\r
- TRUE\r
-\r
+#
+#
+# Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved
+# \r
+# This program and the accompanying materials are licensed and made available under\r
+# the terms and conditions of the BSD License that accompanies this distribution. \r
+# The full text of the license may be found at \r
+# http://opensource.org/licenses/bsd-license.php. \r
+# \r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+# \r
+#
+# This PEIM includes 3 parts, pre memory initialization, MRC
+# wrapper and post memory initialization.
+# On pre memory, following action is performed,
+# 1. Initizluize GMCH.
+# 2. Detect boot mode.
+# 3. Detect video adapter to determine whether we need pre allocated
+# memory.
+#
+# After that MRC wrapper calls MRC to initialize memory and install a PPI
+# notify to do post memory
+# initialization. MRC wrapper performance following actions,
+# 1. Install EFI Memory.
+# 2. Capsule coalesce if capsule boot mode.
+# 3. Create HOB of system memory.
+# Note: MRC supports 3 kinds of chipsets including Lakeport, Glenwood and Mukilteo,
+# so please don't define MACRO MUKILTEO_SUPPORT on Lakeport here.
+#
+# On post memory, following action is performed,
+# 1. TC initialization after MRC.
+# 2. SIO initialization.
+# 3. Install ResetSystem and FinvFv PPI, relocate Stall to memory on
+# recovery boot mode.
+# 4. Set MTRR for PEI
+# 5. Create FV HOB and Flash HOB
+# 6. Install RecoveryModule and AtaController PPI if on recovery boot mode.
+#
+# This PEIM does not have any register access directly, it depends on
+# IntelTCLib, TCAccess libraries to access Chipset
+# registers.
+#
+# Platform.c - Provide main flow and entrypoint of PEIM.
+# MemoryCallback.c - Includes a memory call back function notified when
+# MRC is done.
+#
+#
+
+[Defines]
+ INF_VERSION = 0x00010005
+ BASE_NAME = PlatformPeim
+ FILE_GUID = 9618C0DC-50A4-496c-994F-7241F282ED01
+ MODULE_TYPE = PEIM
+ VERSION_STRING = 1.0
+ ENTRY_POINT = PeiInitPlatform
+ PI_SPECIFICATION_VERSION = 0x0001000A
+
+[sources.common]
+ Platform.c
+ Platform.h
+ MemoryCallback.c
+ CommonHeader.h
+ Stall.c
+ BootMode.c
+
+
+[Packages]
+ MdePkg/MdePkg.dec
+ MdeModulePkg/MdeModulePkg.dec
+ Vlv2TbltDevicePkg/PlatformPkg.dec
+ IntelFrameworkPkg/IntelFrameworkPkg.dec
+ Vlv2DeviceRefCodePkg/Vlv2DeviceRefCodePkg.dec
+ Vlv2SocBinPkg/Vlv2SocBinPkg.dec
+ UefiCpuPkg/UefiCpuPkg.dec
+ CryptoPkg/CryptoPkg.dec
+
+[LibraryClasses]
+ PeimEntryPoint
+ DebugLib
+ HobLib
+ IoLib
+ MultiPlatformLib
+ MtrrLib
+ PerformanceLib
+ MonoStatusCodeLib
+ BaseCryptLib
+ PciLib
+
+[Ppis]
+ gEfiPeiStallPpiGuid
+ gPeiSpeakerInterfacePpiGuid
+ gEfiPeiMemoryDiscoveredPpiGuid
+ gVlvPolicyPpiGuid
+ gEfiPeiReadOnlyVariable2PpiGuid
+ gEfiPeiResetPpiGuid
+ gEfiEndOfPeiSignalPpiGuid
+ gEfiFindFvPpiGuid
+ gPeiCapsulePpiGuid
+ gEfiPeiBootInRecoveryModePpiGuid
+ gEfiPeiRecoveryModulePpiGuid
+ gEfiPeiDeviceRecoveryModulePpiGuid
+ gPeiCachePpiGuid
+ gEfiPeiMasterBootModePpiGuid
+ gEfiPeiSmbusPpiGuid
+ gPeiMfgMemoryTestPpiGuid
+ gPeiSha256HashPpiGuid
+ gVlvMmioPolicyPpiGuid
+ gSeCfTPMPolicyPpiGuid
+
+[Guids]
+ gEfiSetupVariableGuid
+ gEfiPlatformInfoGuid
+ gEfiPlatformBootModeGuid
+ gEfiPlatformCpuInfoGuid
+ gEfiGlobalVariableGuid
+ gRecoveryOnFatFloppyDiskGuid
+ gRecoveryOnFatUsbDiskGuid
+ gRecoveryOnFatIdeDiskGuid
+ gRecoveryOnDataCdGuid
+ gMfgModeVariableGuid
+ gEfiNormalSetupGuid
+ gEfiVlv2VariableGuid
+
+[Pcd.common]
+ gPlatformModuleTokenSpaceGuid.PcdFlashFvMainBase
+ gPlatformModuleTokenSpaceGuid.PcdFlashFvMainSize
+ gPlatformModuleTokenSpaceGuid.PcdFlashFvRecovery2Base
+ gPlatformModuleTokenSpaceGuid.PcdFlashFvRecovery2Size
+ gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
+ gPlatformModuleTokenSpaceGuid.PcdFlashAreaBaseAddress
+ gPlatformModuleTokenSpaceGuid.PcdFlashAreaSize
+[Depex]
+ TRUE
+