### @file
# Memory Init for Aplk
#
# @copyright
#  INTEL CONFIDENTIAL
#  Copyright 2005 - 2017 Intel Corporation.
#
#  The source code contained or described herein and all documents related to the
#  source code ("Material") are owned by Intel Corporation or its suppliers or
#  licensors. Title to the Material remains with Intel Corporation or its suppliers
#  and licensors. The Material may contain trade secrets and proprietary and
#  confidential information of Intel Corporation and its suppliers and licensors,
#  and is protected by worldwide copyright and trade secret laws and treaty
#  provisions. No part of the Material may be used, copied, reproduced, modified,
#  published, uploaded, posted, transmitted, distributed, or disclosed in any way
#  without Intel's prior express written permission.
#
#  No license under any patent, copyright, trade secret or other intellectual
#  property right is granted to or conferred upon you by disclosure or delivery
#  of the Materials, either expressly, by implication, inducement, estoppel or
#  otherwise. Any license under such intellectual property rights must be
#  express and approved by Intel in writing.
#
#  Unless otherwise agreed by Intel in writing, you may not remove or alter
#  this notice or any other notice embedded in Materials by Intel or
#  Intel's suppliers or licensors in any way.
#
#  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                      = 7EE44C61-ADDA-4D27-A4A3-A5615C16C644
  MODULE_TYPE                    = PEIM
  VERSION_STRING                 = 1.0
  ENTRY_POINT                    = PeimMemoryInit

[Sources]
  Pei/MemoryInit.c
  GLK/Source/Bdat.c
  GLK/Source/ConfigMem.c
  GLK/Source/DetectDimms.c
  GLK/Source/McFunc.c
  GLK/Source/MrcFunc.c
  GLK/Source/OemHooks.c
  GLK/Include/Bdat.h
  GLK/Include/GlkOdtActivationTable.h
  GLK/Include/GlkOdtValueTable.h
  GLK/Include/ConfigMem.h
  GLK/Include/ConfigMemData.h
  GLK/Include/DetectDimms.h
  GLK/Include/IchRegs.h
  GLK/Include/Mailbox.h
  GLK/Include/McFunc.h
  GLK/Include/MchRegs.h
  GLK/Include/MemOdt.h
  GLK/Include/Mrc.h
  GLK/Include/MrcFunc.h
  GLK/Include/OemHooks.h
  GLK/Include/Platform.h
  GLK/Include/Regs.h
  GLK/Include/MrcEfiDefinitions.h
  Mmrc/ProjectData/GLK/Source/MmrcHooks.c
  Mmrc/ProjectData/GLK/Source/cpgcapi.c
  Mmrc/ProjectData/GLK/Source/MmrcProjectData.c
  Mmrc/ProjectData/GLK/Source/MmrcProjectDataGenerated.c
  Mmrc/ProjectData/GLK/Source/StringsGenerated.c
  Mmrc/ProjectData/GLK/Include/ADPLL_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/AUNIT_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/BUNIT_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/CCC_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/CPGC_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/CUNIT_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/DPIC_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/DPLVUG_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/DQ_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/DQDPIC_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/DQDPLVUG_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/DUNIT_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/MLMC_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/MmrcHooks.h
  Mmrc/ProjectData/GLK/Include/MmrcProjectData.h
  Mmrc/ProjectData/GLK/Include/MmrcProjectDataGenerated.h
  Mmrc/ProjectData/GLK/Include/MmrcProjectDefinitions.h
  Mmrc/ProjectData/GLK/Include/MmrcProjectDefinitionsGenerated.h
  Mmrc/ProjectData/GLK/Include/P2SB_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/PUNIT_BOXTYPE.h
  Mmrc/ProjectData/GLK/Include/SAI_BOXTYPE.h
  Mmrc/ProjectData/GLK/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
  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec  
  GeminilakeSiliconPkg/GeminilakeSiliconPkg.dec
  ClientCommonPkg/ClientCommonPkg.dec                  
  ClientSiliconPkg/ClientSiliconPkg.dec
  
[LibraryClasses]
  PeimEntryPoint
  BaseMemoryLib
  DebugLib
  HobLib
  IoLib
  PciExpressLib
  PcdLib
  PrintLib
  ReportStatusCodeLib
  SerialPortLib
  TimerLib
  PreSiliconLib
  SteppingLib
  CmosAccessLib
  TimerLib
  ConfigBlockLib

[Ppis]
  gEfiPeiReadOnlyVariable2PpiGuid  ## CONSUMES
  gSeCUmaPpiGuid                   ## CONSUMES
  gDramPolicyPpiGuid               ## CONSUMES
  gSiCpuPolicyPpiGuid              ## PRODUCES
  gCpuSecurityPreMemConfigGuid     ## CONSUMES

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

#//
#//
  gEfiAcpiVariableCompatiblityGuid
  
[Pcd]
  gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress  ## SOMETIMES_CONSUMES
  gEfiBxtTokenSpaceGuid.PcdPmcSsramBaseAddress0      ## CONSUMES
  gEfiBxtTokenSpaceGuid.PcdScAcpiIoPortBaseAddress
  gSiPkgTokenSpaceGuid.PcdFspCpuPeiApWakeupBufferAddr ## CONSUMES

[Depex]
  TRUE

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

