ArmVirtPkg/FdtPciHostBridgeLib: map ECAM and I/O spaces in GCD memory map
[mirror_edk2.git] / ArmVirtPkg / Library / FdtPciHostBridgeLib / FdtPciHostBridgeLib.inf
1 ## @file
2 # PCI Host Bridge Library instance for pci-ecam-generic DT nodes
3 #
4 # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials are licensed and made available
7 # under the terms and conditions of the BSD License which accompanies this
8 # 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
13 # IMPLIED.
14 #
15 #
16 ##
17
18 [Defines]
19 INF_VERSION = 0x00010005
20 BASE_NAME = FdtPciHostBridgeLib
21 FILE_GUID = 59fcb139-2558-4cf0-8d7c-ebac499da727
22 MODULE_TYPE = DXE_DRIVER
23 VERSION_STRING = 1.0
24 LIBRARY_CLASS = PciHostBridgeLib
25
26 #
27 # The following information is for reference only and not required by the build
28 # tools.
29 #
30 # VALID_ARCHITECTURES = AARCH64 ARM
31 #
32
33 [Sources]
34 FdtPciHostBridgeLib.c
35
36 [Packages]
37 ArmPkg/ArmPkg.dec
38 ArmVirtPkg/ArmVirtPkg.dec
39 MdeModulePkg/MdeModulePkg.dec
40 MdePkg/MdePkg.dec
41
42 [LibraryClasses]
43 DebugLib
44 DevicePathLib
45 DxeServicesTableLib
46 MemoryAllocationLib
47 PciPcdProducerLib
48
49 [FixedPcd]
50 gArmTokenSpaceGuid.PcdPciMmio32Translation
51 gArmTokenSpaceGuid.PcdPciMmio64Translation
52
53 [Pcd]
54 gArmTokenSpaceGuid.PcdPciIoTranslation
55 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
56
57 [Depex]
58 gFdtClientProtocolGuid