1#/** @file
2#  INF file for the Xpress-RICH3 PCIe Root Complex
3#
4#  Copyright (c) 2011-2015, ARM Ltd. All rights reserved.
5#
6#  This program and the accompanying materials
7#  are licensed and made available under the terms and conditions of the BSD License
8#  which accompanies this distribution.  The full text of the license may be found at
9#  http://opensource.org/licenses/bsd-license.php
10#
11#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14#**/
15
16[Defines]
17  INF_VERSION                    = 0x00010005
18  BASE_NAME                      = PciHostBridge
19  FILE_GUID                      = C62F4B20-681E-11DF-8F0D-0002A5D5C51B
20  MODULE_TYPE                    = DXE_DRIVER
21  VERSION_STRING                 = 1.0
22
23  ENTRY_POINT                    = PciHostBridgeEntryPoint
24  UNLOAD_IMAGE                   = PciHostBridgeUnload
25
26[Packages]
27  MdePkg/MdePkg.dec
28  ArmPkg/ArmPkg.dec
29  EmbeddedPkg/EmbeddedPkg.dec
30  ArmPlatformPkg/ArmPlatformPkg.dec
31  ArmPlatformPkg/ArmJunoPkg/ArmJuno.dec
32
33[LibraryClasses]
34  UefiDriverEntryPoint
35  UefiBootServicesTableLib
36  MemoryAllocationLib
37  DxeServicesTableLib
38  CacheMaintenanceLib
39  DmaLib
40
41[Sources]
42  PciHostBridge.c
43  PciHostBridgeResourceAllocation.c
44  PciRootBridge.c
45  XPressRich3.c
46
47[Protocols]
48  gEfiPciHostBridgeResourceAllocationProtocolGuid # Produced
49  gEfiPciRootBridgeIoProtocolGuid                 # Produced
50  gEfiDevicePathProtocolGuid                      # Produced
51  gEfiCpuIo2ProtocolGuid                          # Consumed
52  gEfiMetronomeArchProtocolGuid                   # Consumed
53
54[FeaturePcd]
55  gArmJunoTokenSpaceGuid.PcdPciMaxPayloadFixup
56
57[Pcd.common]
58  gArmTokenSpaceGuid.PcdSystemMemoryBase
59  gArmTokenSpaceGuid.PcdSystemMemorySize
60
61  gArmPlatformTokenSpaceGuid.PcdPciBusMin
62  gArmPlatformTokenSpaceGuid.PcdPciBusMax
63  gArmPlatformTokenSpaceGuid.PcdPciIoBase
64  gArmPlatformTokenSpaceGuid.PcdPciIoSize
65  gArmPlatformTokenSpaceGuid.PcdPciMmio32Base
66  gArmPlatformTokenSpaceGuid.PcdPciMmio32Size
67  gArmPlatformTokenSpaceGuid.PcdPciMmio64Base
68  gArmPlatformTokenSpaceGuid.PcdPciMmio64Size
69
70  gArmJunoTokenSpaceGuid.PcdPcieControlBaseAddress
71  gArmJunoTokenSpaceGuid.PcdPcieRootPortBaseAddress
72  gArmJunoTokenSpaceGuid.PcdPciConfigurationSpaceBaseAddress
73  gArmJunoTokenSpaceGuid.PcdPciConfigurationSpaceSize
74
75[Depex]
76  gEfiCpuIo2ProtocolGuid AND gEfiMetronomeArchProtocolGuid
77