]> git.proxmox.com Git - mirror_edk2.git/blob - ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf
ArmVirtPkg/PrePi: move DRAM discovery code into PrePi
[mirror_edk2.git] / ArmVirtPkg / PrePi / ArmVirtPrePiUniCoreRelocatable.inf
1 #/** @file
2 #
3 # Copyright (c) 2011-2015, ARM Ltd. All rights reserved.<BR>
4 # Copyright (c) 2015, Linaro Ltd. All rights reserved.<BR>
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 = ArmVirtPrePiUniCoreRelocatable
19 FILE_GUID = f7d9fd14-9335-4389-80c5-334d6abfcced
20 MODULE_TYPE = SEC
21 VALID_ARCHITECTURES = AARCH64
22 VERSION_STRING = 1.0
23
24 [Sources]
25 PrePi.c
26 FdtParser.c
27
28 [Sources.AArch64]
29 AArch64/ArchPrePi.c
30 AArch64/ModuleEntryPoint.S
31
32 [Sources.ARM]
33 Arm/ArchPrePi.c
34 Arm/ModuleEntryPoint.S
35
36 [Packages]
37 MdePkg/MdePkg.dec
38 MdeModulePkg/MdeModulePkg.dec
39 EmbeddedPkg/EmbeddedPkg.dec
40 ArmPkg/ArmPkg.dec
41 ArmPlatformPkg/ArmPlatformPkg.dec
42 ArmVirtPkg/ArmVirtPkg.dec
43 IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
44
45 [LibraryClasses]
46 BaseLib
47 DebugLib
48 FdtLib
49 ArmLib
50 IoLib
51 TimerLib
52 SerialPortLib
53 ExtractGuidedSectionLib
54 LzmaDecompressLib
55 PeCoffGetEntryPointLib
56 PrePiLib
57 ArmPlatformLib
58 ArmPlatformStackLib
59 MemoryAllocationLib
60 HobLib
61 PrePiHobListPointerLib
62 PlatformPeiLib
63 MemoryInitPeiLib
64 CacheMaintenanceLib
65
66 [Ppis]
67 gArmMpCoreInfoPpiGuid
68
69 [Guids]
70 gArmMpCoreInfoGuid
71
72 [FeaturePcd]
73 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob
74 gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores
75
76 [FixedPcd]
77 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString
78
79 gArmTokenSpaceGuid.PcdVFPEnabled
80
81 gArmTokenSpaceGuid.PcdFdSize
82 gArmTokenSpaceGuid.PcdFvSize
83
84 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize
85 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize
86
87 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize
88
89 gArmPlatformTokenSpaceGuid.PcdCoreCount
90
91 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize
92 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize
93
94 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory
95 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS
96 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType
97 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData
98 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode
99 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode
100 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData
101 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode
102 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData
103
104 [Pcd]
105 gArmTokenSpaceGuid.PcdSystemMemoryBase
106 gArmTokenSpaceGuid.PcdSystemMemorySize
107 gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress
108 gArmTokenSpaceGuid.PcdFdBaseAddress
109 gArmTokenSpaceGuid.PcdFvBaseAddress
110
111 [BuildOptions]
112 GCC:*_*_*_DLINK_FLAGS = -pie -Wl,-T,$(MODULE_DIR)/Scripts/PrePi-PIE.lds