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