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[LibraryClasses.common] 37 ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf 38 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf 39 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf 40 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf 41 ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf 42 ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf 43 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf 44 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf 45 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf 46 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf 47 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf 48 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf 49 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf 50 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf 51 LcdHwLib|ArmPlatformPkg/Library/LcdHwNullLib/LcdHwNullLib.inf 52 LcdPlatformLib|ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf 53 LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf 54 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf 55 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf 56 NorFlashPlatformLib|ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf 57 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf 58 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf 59 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf 60 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf 61 PL011UartClockLib|ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf 62 PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf 63 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf 64 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf 65 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf 66 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf 67 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf 68 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf 69 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf 70 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf 71 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf 72 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf 73 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf 74 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf 75 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf 76 77 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf 78 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf 79 80[LibraryClasses.common.PEIM] 81 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf 82 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf 83 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf 84 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf 85 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf 86 87[LibraryClasses.common.SEC] 88 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf 89 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf 90 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf 91 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf 92 93[LibraryClasses.AARCH64.MM_STANDALONE] 94 HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf 95 MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf 96 MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf 97 StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf 98 99[Components.common] 100 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf 101 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf 102 ArmPlatformPkg/Drivers/PL061GpioDxe/PL061GpioDxe.inf 103 ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf 104 105 ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf 106 ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf 107 ArmPlatformPkg/Library/HdLcd/HdLcd.inf 108 ArmPlatformPkg/Library/LcdHwNullLib/LcdHwNullLib.inf 109 ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf 110 ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf 111 ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf 112 ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf 113 ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf 114 ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf 115 ArmPlatformPkg/Library/PL111Lcd/PL111Lcd.inf 116 ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf 117 118 ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf 119 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf 120 121 ArmPlatformPkg/PlatformPei/PlatformPeim.inf 122 ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf 123 124 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf 125 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf 126 127 ArmPlatformPkg/PrePi/PeiMPCore.inf 128 ArmPlatformPkg/PrePi/PeiUniCore.inf 129 130 ArmPlatformPkg/Library/ArmMaliDp/ArmMaliDp.inf 131 132[Components.AARCH64] 133 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashStandaloneMm.inf 134