## @file
#
#  Copyright (c)  1999  - 2019, Intel Corporation. All rights reserved
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#
#  Module Name:
#
#    PlatformBB.inf
#
#  Abstract:
#
#    Component description file for platform DXE driver
#  ------------------------------------------------------------------------------
#  Rev   Date<MM/DD/YYYY>    Name    Description
#  ------------------------------------------------------------------------------
#  R01     <04/22/2011>       LB     Update code for SIO83627UHG support.
#  ------------------------------------------------------------------------------
#
##

[defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = PlatformDxe
  FILE_GUID                      = 056E7324-A718-465b-9A84-228F06642B4F
  MODULE_TYPE                    = DXE_DRIVER
  VERSION_STRING                 = 1.0
  PI_SPECIFICATION_VERSION       = 0x0001000A
  ENTRY_POINT                    = InitializePlatform

[sources.common]
  BoardId.c
  BoardIdDecode.c
  ClockControl.c
  Platform.c
  IchRegTable.c
  IchPlatformPolicy.c
  PciDevice.c
  SlotConfig.c
  IchTcoReset.c
  SensorVar.c
  LegacySpeaker.c
  Observable/Observable.c
  ExI.c
  Rtc.c

[Packages]
  MdePkg/MdePkg.dec
  MdeModulePkg/MdeModulePkg.dec
  SecurityPkg/SecurityPkg.dec
  CryptoPkg/CryptoPkg.dec
  BoardModulePkg/BoardModulePkg.dec
  Vlv2TbltDevicePkg/PlatformPkg.dec
  Vlv2DeviceRefCodePkg/Vlv2DeviceRefCodePkg.dec

[LibraryClasses]
  BaseLib
  BaseMemoryLib
  MemoryAllocationLib
  UefiBootServicesTableLib
  UefiDriverEntryPoint
  UefiRuntimeServicesTableLib
  DxeServicesTableLib
  PchPlatformLib

  DebugLib
  HiiLib
  PrintLib
  UefiLib
  S3BootScriptLib
  ReportStatusCodeLib
  EfiRegTableLib
  BiosIdLib
  BaseCryptLib
  HobLib

[Guids]
  gEfiPlatformBootModeGuid
  gEfiBoardFeaturesGuid
  gItkDataVarGuid
  gDmiDataGuid
  gEfiPciLanInfoGuid
  gEfiNormalSetupGuid
  gEfiGlobalVariableGuid
  gEfiEventExitBootServicesGuid
  gEfiVlv2VariableGuid
  gEfiEndOfDxeEventGroupGuid

[Protocols]
  gEfiPciRootBridgeIoProtocolGuid    # CONSUMES  ## GUID
  gEfiVariableArchProtocolGuid
  gEfiVariableWriteArchProtocolGuid
  gEfiHiiConfigAccessProtocolGuid
  gEfiCpuIo2ProtocolGuid
  gEfiDevicePathProtocolGuid
  gEfiDiskInfoProtocolGuid
  gEfiPciIoProtocolGuid
  gDxePchPlatformPolicyProtocolGuid
  gEfiSpeakerInterfaceProtocolGuid
  gDxeVlvPlatformPolicyGuid
  gEfiSmbiosSlotPopulationGuid
  gObservableProtocolGuid
  gEfiCk505ClockPlatformInfoGuid
  gEfiTcoResetProtocolGuid
  gEfiWatchdogTimerDriverProtocolGuid
  gEfiPlatformIdeInitProtocolGuid
  gEfiGlobalNvsAreaProtocolGuid
  gIgdOpRegionProtocolGuid
  gEdkiiVariableLockProtocolGuid

[Pcd.common]
  gPlatformModuleTokenSpaceGuid.PcdPBTNDisableInterval
  gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
  gPlatformModuleTokenSpaceGuid.PcdFlashAreaBaseAddress
  gPlatformModuleTokenSpaceGuid.PcdFlashMicroCodeAddress
  gPlatformModuleTokenSpaceGuid.PcdFlashMicroCodeSize
  gEfiMdeModulePkgTokenSpaceGuid.PcdFastPS2Detection
  gPlatformModuleTokenSpaceGuid.PcdFlashFvMainBase
  gPlatformModuleTokenSpaceGuid.PcdFlashFvRecoveryBase
  gPlatformModuleTokenSpaceGuid.PcdFlashFvRecoverySize


[Depex]
  gEfiPciRootBridgeIoProtocolGuid     AND
  gEfiVariableArchProtocolGuid        AND
  gEfiVariableWriteArchProtocolGuid   AND
  gEfiCpuIo2ProtocolGuid               AND
  gDxePchPlatformPolicyProtocolGuid   AND
  gEfiGlobalNvsAreaProtocolGuid


