### @file
# SC Init Lib Pei Phase
#
#@copyright
# Copyright (c) 2014 - 2017 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                      = PeiScInitLib
  FILE_GUID                      = A4B433A0-B302-429a-A5EB-5E18226E3FC7
  MODULE_TYPE                    = PEIM
  VERSION_STRING                 = 1.0
  LIBRARY_CLASS                  = ScInitLib

[Sources]
  ScInitPreMem.c
  ScInit.c
  ScPm.c
  ScLpc.c
  ScHsio.c
#  ScBxtHsioAx.c
  ScBxtHsioBx.c
#  ScBxtpHsioAx.c
  ScBxtpHsioBx.c
  ScUsbInit.c
  ScSmbus.c
  ScSmbusArp.c
  ScRtc.c
  ScSerialIrq.c
  ScProgramSvidSid.c
  ScP2SB.c
  ScIoApic.c
  ScMisc.c
  ScMiscPm.c
  ScXdci.c
  ScGmm.c
  ScLpss.c
  ScScs.c
  ScIsh.c
  ScIosf.c
  ScItss.c
  ScPmc.c
  ScHda.c
  UfsMphyInit.c
  ScInterruptAssign.c
  ScGelkHsioAx.c
#if (CNVI_ENABLE == 1)
  ScCnvi.c
#endif


[Packages]
  MdePkg/MdePkg.dec
  GeminilakeSiliconPkg/GeminilakeSiliconPkg.dec
  GeminilakeSiliconPkg/GeminilakeSiPrivate.dec
  ClientSiliconPkg/ClientSiliconPkg.dec
  IntelFsp2Pkg/IntelFsp2Pkg.dec
  GeminilakeFspPkg/GeminilakeFspPkg.dec

[LibraryClasses]
  S3BootScriptLib                      ## Link this S3BootScriptLib to a NULL library for PEI usage.
  BaseLib
  IoLib
  DebugLib
  TimerLib
  PreSiliconLib
  SteppingLib
  MemoryAllocationLib
  BaseMemoryLib
  HobLib
  PeiServicesLib
  SataInitLib
  PeiPciExpressInitLib
  PeiSpiInitLib
  ScPlatformLib
  ScInitCommonLib
  UsbCommonLib
  SideBandLib
  HsioLib
  PeiVtdLib
  GpioLib
  SteppingLib
  ConfigBlockLib
  ScSmbusCommonLib
  PcdLib
  HeciMsgLib
  PeiScPolicyLib
  PostCodeLib
  BootMediaLib
#if (CNVI_ENABLE == 1)
  GpioPrivateLib
#endif

[Ppis]
  gSiPolicyPpiGuid                      ## CONSUMES
  gScPolicyPpiGuid                      ## CONSUMES
  gEfiPeiReadOnlyVariable2PpiGuid       ## CONSUMES
  gScPcieDeviceTablePpiGuid             ## CONSUMES
  gGraphicsConfigGuid                   ## CONSUMES
  gEfiPeiSmbus2PpiGuid                  ## PRODUCES
  gScPreMemPolicyPpiGuid

[Guids]
  gScPolicyHobGuid         ## UNDEFINED
  gScDeviceTableHobGuid    ## UNDEFINED
  gEfiSetupVariableGuid    ## UNDEFINED
  gUfsPhyOverrideHobGuid   ## UNDEFINED
  gEfiSmbusArpMapGuid
  gLpcPreMemConfigGuid     ## CONSUMES
  gPcieRpPreMemConfigGuid  ## CONSUMES
  gHpetConfigGuid
  gIoApicConfigGuid
  gHdAudioConfigGuid
  gGmmConfigGuid
  gPmConfigGuid
  gSerialIrqConfigGuid
  gScsConfigGuid
  gIshConfigGuid
  gScGeneralConfigGuid
  gLpssConfigGuid
  gLockDownConfigGuid
  gSmbusConfigGuid
  gDciConfigGuid
  gScPmcFunctionDisableResetHobGuid
  gInterruptConfigGuid
#if (CNVI_ENABLE == 1)
  gCnviConfigGuid
#endif

[Pcd]
  gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress  ## SOMETIMES_CONSUMES
  gEfiBxtTokenSpaceGuid.PcdScAcpiIoPortBaseAddress   ## SOMETIMES_CONSUMES
  gEfiBxtTokenSpaceGuid.PcdPmcGcrBaseAddress         ## SOMETIMES_CONSUMES
  gSiPkgTokenSpaceGuid.PcdSmbusBaseAddress
