### @file
# Memory Init
#
#@copyright
# Copyright (c) 2005 - 2015 Intel Corporation. All rights reserved
# This software and associated documentation (if any) is furnished
# under a license and may only be used or copied in accordance
# with the terms of the license. Except as permitted by the
# license, no part of this software or documentation may be
# reproduced, stored in a retrieval system, or transmitted in any
# form or by any means without the express written consent of
# Intel Corporation.
# This file contains an 'Intel Peripheral Driver' and is uniquely
# identified as "Intel Reference Module" and is licensed for Intel
# CPUs and chipsets under the terms of your license agreement with
# Intel or your vendor. This file may be modified by the user, subject
# to additional terms of the license agreement.
#
# @par Specification Reference:
#
# @par Glossary:
###

[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = MemoryInit
  FILE_GUID                      = 152603C8-7FBD-49A5-88A2-BA2CDE556537
  MODULE_TYPE                    = PEIM
  VERSION_STRING                 = 1.0
  ENTRY_POINT                    = PeimMemoryInit

[Sources]
  Pei/MemoryInit.c
  BXT/Source/Bdat.c
  BXT/Source/ConfigMem.c
  BXT/Source/DetectDimms.c
  BXT/Source/McFunc.c
  BXT/Source/MrcFunc.c
  BXT/Source/OemHooks.c
  BXT/Include/Bdat.h
  BXT/Include/GlkOdtActivationTable.h
  BXT/Include/GlkOdtValueTable.h
  BXT/Include/ConfigMem.h
  BXT/Include/ConfigMemData.h
  BXT/Include/DetectDimms.h
  BXT/Include/IchRegs.h
  BXT/Include/Mailbox.h
  BXT/Include/McFunc.h
  BXT/Include/MchRegs.h
  BXT/Include/MemOdt.h
  BXT/Include/Mrc.h
  BXT/Include/MrcFunc.h
  BXT/Include/OemHooks.h
  BXT/Include/Platform.h
  BXT/Include/Regs.h
  BXT/Include/MrcEfiDefinitions.h
  Mmrc/ProjectData/BXTM/Source/MmrcHooks.c
  Mmrc/ProjectData/BXTM/Source/cpgcapi.c
  Mmrc/ProjectData/BXTM/Source/MmrcProjectData.c
  Mmrc/ProjectData/BXTM/Source/MmrcProjectDataGenerated.c
  Mmrc/ProjectData/BXTM/Source/StringsGenerated.c
  Mmrc/ProjectData/BXTM/Include/ADPLL.h
  Mmrc/ProjectData/BXTM/Include/AUNIT.h
  Mmrc/ProjectData/BXTM/Include/BUNIT.h
  Mmrc/ProjectData/BXTM/Include/CCC.h
  Mmrc/ProjectData/BXTM/Include/CPGC.h
  Mmrc/ProjectData/BXTM/Include/CUNIT.h
  Mmrc/ProjectData/BXTM/Include/DDRSAI.h
  Mmrc/ProjectData/BXTM/Include/DPIC.h
  Mmrc/ProjectData/BXTM/Include/DPLVUG.h
  Mmrc/ProjectData/BXTM/Include/DQ.h
  Mmrc/ProjectData/BXTM/Include/DQCCC.h
  Mmrc/ProjectData/BXTM/Include/DQCCC_8.h
  Mmrc/ProjectData/BXTM/Include/DUNIT.h
  Mmrc/ProjectData/BXTM/Include/LDO.h
  Mmrc/ProjectData/BXTM/Include/MLMC.h
  Mmrc/ProjectData/BXTM/Include/MmrcHooks.h
  Mmrc/ProjectData/BXTM/Include/MmrcProjectData.h
  Mmrc/ProjectData/BXTM/Include/MmrcProjectDataGenerated.h
  Mmrc/ProjectData/BXTM/Include/MmrcProjectDefinitions.h
  Mmrc/ProjectData/BXTM/Include/MmrcProjectDefinitionsGenerated.h
  Mmrc/ProjectData/BXTM/Include/P2SB.h
  Mmrc/ProjectData/BXTM/Include/PUNIT.h
  Mmrc/ProjectData/BXTM/Include/SAI.h
  Mmrc/ProjectData/BXTM/Include/WIO2PHY.h
  Mmrc/ProjectData/BXTM/Include/MrcVersion.h
  Mmrc/ProjectIndependent/Source/MmrcLibraries.c
  Mmrc/ProjectIndependent/Source/Printf.c
  Mmrc/ProjectIndependent/Source/RegAccess.c
  Mmrc/ProjectIndependent/Source/EvTools.c
  Mmrc/ProjectIndependent/Include/Bind.h
  Mmrc/ProjectIndependent/Include/cpgcapi.h
  Mmrc/ProjectIndependent/Include/CpuTraining.h
  Mmrc/ProjectIndependent/Include/DataTypes.h
  Mmrc/ProjectIndependent/Include/EvTools.h
  Mmrc/ProjectIndependent/Include/Mmrc.h
  Mmrc/ProjectIndependent/Include/MmrcData.h
  Mmrc/ProjectIndependent/Include/MmrcLibraries.h
  Mmrc/ProjectIndependent/Include/Printf.h
  Mmrc/ProjectIndependent/Include/RegAccess.h
  Mmrc/ProjectIndependent/Include/Spd.h

[Packages]
  MdePkg/MdePkg.dec
  IntelFrameworkPkg/IntelFrameworkPkg.dec
  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
  GeminilakeSiliconPkg/GeminilakeSiliconPkg.dec

[LibraryClasses]
  PeimEntryPoint
  BaseMemoryLib
  DebugLib
  HobLib
  IoLib
  PciExpressLib
  PcdLib
  PrintLib
  ReportStatusCodeLib
  SerialPortLib
  TimerLib
  PreSiliconLib
  SteppingLib

[Ppis]
  gEfiPeiReadOnlyVariable2PpiGuid  ## CONSUMES
  gSeCUmaPpiGuid                   ## CONSUMES
  gDramPolicyPpiGuid               ## CONSUMES

[Guids]
  gEfiMemoryConfigDataGuid ## UNDEFINED
  gEfiSmmPeiSmramMemoryReserveGuid ## UNDEFINED
  gEfiAcpiVariableGuid ## UNDEFINED
  gPramAddrDataGuid ## UNDEFINED
  gBiosReserveMemoryHobGuid ## UNDEFINED
  gPrmrrAddrDataGuid ## UNDEFINED
  gPrmrrSizeHobGuid ## UNDEFINED
  gNPKReserveMemGuid ## UNDEFINED

#//
#//

[FeaturePcd]
  gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam  ## CONSUMES

[Pcd]
  gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress  ## SOMETIMES_CONSUMES
#  gEfiBxtTokenSpaceGuid.PcdPmcGcrBaseAddress  add back later

[Depex]
  TRUE

[BuildOptions]
    DEBUG_*_IA32_CC_FLAGS  = -Fa$* -DEFI_MEMORY_INIT -DSMM_SUPPORT -DDEBUG_HOOKS -Oi- -GL-  -Gs81920
  RELEASE_*_IA32_CC_FLAGS  = -Fa$* -DEFI_MEMORY_INIT -DSMM_SUPPORT -DDEBUG_HOOKS -Oi- -GL-  -Gs81920

