]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmPlatformPkg.dsc
UefiPayloadPkg: Add PCI root bridge info hob support for SBL
[mirror_edk2.git] / ArmPlatformPkg / ArmPlatformPkg.dsc
1 #/** @file
2 # ARM platform package.
3 #
4 # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
5 # Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.<BR>
6 # Copyright (c) 2016 - 2017, Linaro Ltd. All rights reserved.<BR>
7 # Copyright (c) Microsoft Corporation.<BR>
8 #
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
10 #
11 #**/
12
13 ################################################################################
14 #
15 # Defines Section - statements that will be processed to create a Makefile.
16 #
17 ################################################################################
18 [Defines]
19 PLATFORM_NAME = ArmPlatformPkg
20 PLATFORM_GUID = 9ce08891-ac9c-476d-ab04-0c04d3a97544
21 PLATFORM_VERSION = 0.1
22 DSC_SPECIFICATION = 0x0001001A
23 OUTPUT_DIRECTORY = Build/ArmPlatform
24 SUPPORTED_ARCHITECTURES = ARM|AARCH64
25 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
26 SKUID_IDENTIFIER = DEFAULT
27
28 [BuildOptions]
29 RELEASE_*_*_CC_FLAGS = -D MDEPKG_NDEBUG
30 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
31
32 [PcdsFixedAtBuild]
33 gArmTokenSpaceGuid.PcdFdBaseAddress|0x0
34 gArmTokenSpaceGuid.PcdFdSize|0x1000
35
36 !include MdePkg/MdeLibs.dsc.inc
37
38 [LibraryClasses.common]
39 ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf
40 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
41 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
42 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf
43 ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
44 ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
45 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
46 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
47 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
48 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
49 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
50 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
51 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
52 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
53 LcdHwLib|ArmPlatformPkg/Library/LcdHwNullLib/LcdHwNullLib.inf
54 LcdPlatformLib|ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf
55 LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
56 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
57 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
58 NorFlashPlatformLib|ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf
59 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
60 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
61 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
62 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
63 PL011UartClockLib|ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf
64 PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
65 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
66 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
67 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
68 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
69 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
70 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
71 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
72 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
73 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
74 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
75 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
76 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
77 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
78
79 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
80 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
81
82 [LibraryClasses.common.PEIM]
83 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
84 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
85 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
86 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
87 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
88
89 [LibraryClasses.common.SEC]
90 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
91 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
92 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
93 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
94
95 [LibraryClasses.AARCH64.MM_STANDALONE]
96 HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
97 MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf
98 MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
99 StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
100
101 [Components.common]
102 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
103 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
104 ArmPlatformPkg/Drivers/PL061GpioDxe/PL061GpioDxe.inf
105 ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf
106
107 ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf
108 ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
109 ArmPlatformPkg/Library/HdLcd/HdLcd.inf
110 ArmPlatformPkg/Library/LcdHwNullLib/LcdHwNullLib.inf
111 ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf
112 ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf
113 ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
114 ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf
115 ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
116 ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
117 ArmPlatformPkg/Library/PL111Lcd/PL111Lcd.inf
118 ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
119
120 ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
121 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
122
123 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
124 ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
125
126 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
127 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
128
129 ArmPlatformPkg/PrePi/PeiMPCore.inf
130 ArmPlatformPkg/PrePi/PeiUniCore.inf
131
132 ArmPlatformPkg/Library/ArmMaliDp/ArmMaliDp.inf
133
134 [Components.AARCH64]
135 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashStandaloneMm.inf