]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/EmbeddedPkg.dec
ArmPlatformPkg: Support different PL011 reg offset
[mirror_edk2.git] / EmbeddedPkg / EmbeddedPkg.dec
CommitLineData
2ef2b01e
A
1#/** @file\r
2# Framework Module Development Environment Industry Standards\r
3#\r
4# This Package provides headers and libraries that conform to EFI/PI Industry standards.\r
60274cca 5# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
f6342447 6# Copyright (c) 2012-2015, ARM Ltd. All rights reserved.<BR>\r
4395f82e 7# Copyright (c) 2017, Linaro Ltd. All rights reserved.<BR>\r
2ef2b01e 8#\r
2ef2b01e
A
9# This program and the accompanying materials are licensed and made available under\r
10# the terms and conditions of the BSD License which accompanies this distribution.\r
11# The full text of the license may be found at\r
12# http://opensource.org/licenses/bsd-license.php\r
13#\r
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
16#\r
17#**/\r
18\r
19[Defines]\r
20 DEC_SPECIFICATION = 0x00010005\r
21 PACKAGE_NAME = EmbeddedPkg\r
22 PACKAGE_GUID = dea8e498-7e1b-47c1-b6fa-4bc04092587e\r
23 PACKAGE_VERSION = 0.1\r
24\r
25\r
26################################################################################\r
27#\r
28# Include Section - list of Include Paths that are provided by this package.\r
29# Comments are used for Keywords and Module Types.\r
30#\r
31# Supported Module Types:\r
32# BASE SEC PEI_CORE PEIM DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION\r
33#\r
34################################################################################\r
35[Includes.common]\r
36 Include # Root include for the package\r
37\r
38[LibraryClasses.common]\r
39 EfiFileLib|Include/Library/EfiFileLib.h\r
40 PrePiLib|Include/Library/PrePiLib.h\r
41 RealTimeClockLib|Include/Library/RealTimeClockLib.h\r
42 EfiResetSystemLib|Include/Library/EfiResetSystemLib.h\r
43 EblCmdLib|Include/Library/EblCmdLib.h\r
969eba7b 44 EblAddExternalCommandLib|Include/Library/EblAddExternalCommandLib.h\r
45 EblNetworkLib|Include/Library/EblNetworkLib.h\r
2ef2b01e 46 GdbSerialLib|Include/Library/GdbSerialLib.h\r
969eba7b 47 DebugAgentTimerLib|Include/Library/DebugAgentTimerLib.h\r
2ef2b01e 48\r
449a5df4 49 DtPlatformDtbLoaderLib|Include/Library/DtPlatformDtbLoaderLib.h\r
2ef2b01e
A
50\r
51[Guids.common]\r
52 gEmbeddedTokenSpaceGuid = { 0xe0d8ca17, 0x4276, 0x4386, { 0xbb, 0x79, 0x48, 0xcb, 0x81, 0x3d, 0x3c, 0x4f }}\r
53\r
90152e59
OM
54 ## FDT Configuration Table\r
55 # Include/Guid/Fdt.h\r
56 gFdtTableGuid = { 0xb1b621d5, 0xf19c, 0x41a5, { 0x83, 0x0b, 0xd9, 0x15, 0x2c, 0x69, 0xaa, 0xe0 } }\r
cc667df0
AB
57 # Include/Guid/FdtHob.h\r
58 gFdtHobGuid = { 0x16958446, 0x19B7, 0x480B, { 0xB0, 0x47, 0x74, 0x85, 0xAD, 0x3F, 0x71, 0x6D } }\r
158497a0 59 gFdtVariableGuid = { 0x25a4fd4a, 0x9703, 0x4ba9, { 0xa1, 0x90, 0xb7, 0xc8, 0x4e, 0xfb, 0x3e, 0x57 } }\r
90152e59 60\r
65a69b21
LE
61 ## Include/Guid/PlatformHasDeviceTree.h\r
62 gEdkiiPlatformHasDeviceTreeGuid = { 0x7ebb920d, 0x1aaf, 0x46d9, { 0xb2, 0xaf, 0x54, 0x1e, 0x1d, 0xce, 0x14, 0x8b } }\r
63\r
779cc439
AB
64 # HII form set GUID for DtPlatformDxe driver\r
65 gDtPlatformFormSetGuid = { 0x2b7a240d, 0xd5ad, 0x4fd6, { 0xbe, 0x1c, 0xdf, 0xa4, 0x41, 0x5f, 0x55, 0x26 } }\r
66\r
67 # File GUID for default DTB image embedded in the firmware volume\r
68 gDtPlatformDefaultDtbFileGuid = { 0x25462cda, 0x221f, 0x47df, { 0xac, 0x1d, 0x25, 0x9c, 0xfa, 0xa4, 0xe3, 0x26 } }\r
69\r
2ef2b01e
A
70[Protocols.common]\r
71 gHardwareInterruptProtocolGuid = { 0x2890B3EA, 0x053D, 0x1643, { 0xAD, 0x0C, 0xD6, 0x48, 0x08, 0xDA, 0x3F, 0xF1 } }\r
72 gEfiDebugSupportPeriodicCallbackProtocolGuid = { 0x9546e07c, 0x2cbb, 0x4c88, { 0x98, 0x6c, 0xcd, 0x34, 0x10, 0x86, 0xf0, 0x44 } }\r
73 gEfiEblAddCommandProtocolGuid = { 0xaeda2428, 0x9a22, 0x4637, { 0x9b, 0x21, 0x54, 0x5e, 0x28, 0xfb, 0xb8, 0x29 } }\r
74 gEmbeddedDeviceGuid = { 0xbf4b9d10, 0x13ec, 0x43dd, { 0x88, 0x80, 0xe9, 0xb, 0x71, 0x8f, 0x27, 0xde } }\r
75 gEmbeddedExternalDeviceProtocolGuid = { 0x735F8C64, 0xD696, 0x44D0, { 0xBD, 0xF2, 0x44, 0x7F, 0xD0, 0x5A, 0x54, 0x06 }}\r
76 gEmbeddedGpioProtocolGuid = { 0x17a0a3d7, 0xc0a5, 0x4635, { 0xbb, 0xd5, 0x07, 0x21, 0x87, 0xdf, 0xe2, 0xee }}\r
e4dbec73 77 gPeCoffLoaderProtocolGuid = { 0xB323179B, 0x97FB, 0x477E, { 0xB0, 0xFE, 0xD8, 0x85, 0x91, 0xFA, 0x11, 0xAB } }\r
ce73d60a 78 gEfiMmcHostProtocolGuid = { 0x3e591c00, 0x9e4a, 0x11df, {0x92, 0x44, 0x00, 0x02, 0xA5, 0xD5, 0xC5, 0x1B }}\r
d8fd8862 79 gAndroidFastbootTransportProtocolGuid = { 0x74bd9fe0, 0x8902, 0x11e3, {0xb9, 0xd3, 0xf7, 0x22, 0x38, 0xfc, 0x9a, 0x31}}\r
ddd14366 80 gAndroidFastbootPlatformProtocolGuid = { 0x524685a0, 0x89a0, 0x11e3, {0x9d, 0x4d, 0xbf, 0xa9, 0xf6, 0xa4, 0x03, 0x08}}\r
d972f80b 81 gUsbDeviceProtocolGuid = { 0x021bd2ca, 0x51d2, 0x11e3, {0x8e, 0x56, 0xb7, 0x54, 0x17, 0xc7, 0x0b, 0x44 }}\r
78741ce9 82 gPlatformGpioProtocolGuid = { 0x52ce9845, 0x5af4, 0x43e2, {0xba, 0xfd, 0x23, 0x08, 0x12, 0x54, 0x7a, 0xc2 }}\r
62d441fb 83\r
2ef2b01e
A
84[PcdsFeatureFlag.common]\r
85 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|FALSE|BOOLEAN|0x00000001\r
86 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE|BOOLEAN|0x00000002\r
87 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE|BOOLEAN|0x00000003\r
88 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE|BOOLEAN|0x00000004\r
89 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE|BOOLEAN|0x00000005\r
90 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE|BOOLEAN|0x00000006\r
91 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|FALSE|BOOLEAN|0x00000041\r
fb334ef6 92 gEmbeddedTokenSpaceGuid.PcdEmbeddedProbeRemovable|TRUE|BOOLEAN|0x00000052\r
3402aac7 93\r
2ef2b01e
A
94 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE|BOOLEAN|0x0000001b\r
95 gEmbeddedTokenSpaceGuid.PcdCacheEnable|FALSE|BOOLEAN|0x00000042\r
fb334ef6 96 gEmbeddedTokenSpaceGuid.PcdGdbSerial|FALSE|BOOLEAN|0x00000053\r
b0866ad3 97 # Enable the development specific features\r
158497a0 98 gEmbeddedTokenSpaceGuid.PcdOverridePlatformFdt|TRUE|BOOLEAN|0x00000054\r
b0866ad3
OM
99 # Add 'dumpfdt' EFI Shell command\r
100 gEmbeddedTokenSpaceGuid.PcdDumpFdtShellCommand|TRUE|BOOLEAN|0x00000056\r
2ef2b01e 101\r
f6342447
OM
102 gEmbeddedTokenSpaceGuid.PcdSataSiI3132FeaturePMPSupport|FALSE|BOOLEAN|0x00000050\r
103 gEmbeddedTokenSpaceGuid.PcdSataSiI3132FeatureDirectCommandIssuing|FALSE|BOOLEAN|0x00000051\r
2ef2b01e
A
104\r
105[PcdsFixedAtBuild.common]\r
106 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|L""|VOID*|0x00000007\r
107 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07|UINT32|0x00000008\r
108 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000|UINT32|0x00000009\r
e6b3b508 109 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"Ebl"|VOID*|0x00000034\r
2ef2b01e 110\r
2ef2b01e
A
111 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0|UINT32|0x0000000b\r
112 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|131072|UINT32|0x0000000c\r
3402aac7 113\r
753816a3 114 gEmbeddedTokenSpaceGuid.PcdMemoryBase|0x0|UINT32|0x0000004e\r
115 gEmbeddedTokenSpaceGuid.PcdMemorySize|0x0|UINT32|0x0000004f\r
116\r
2ef2b01e
A
117 gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0x0|UINT32|0x00000043\r
118 gEmbeddedTokenSpaceGuid.PcdFlashFvMainOffset|0x0|UINT32|0x00000044\r
eca37a31 119 gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0x0|UINT32|0x00000045\r
3402aac7 120\r
2ef2b01e
A
121# Used to help reduce fragmentation in the EFI memory map\r
122# EFI Pages (4K) are the units used\r
123 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0|UINT32|0x00000012\r
124 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0|UINT32|0x00000013\r
125 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0|UINT32|0x00000014\r
126 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0|UINT32|0x00000015\r
127 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0|UINT32|0x00000016\r
128 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0|UINT32|0x00000017\r
129 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0|UINT32|0x00000018\r
130 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0|UINT32|0x00000019\r
131 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0|UINT32|0x0000001a\r
132\r
133 gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000|UINT32|0x0000001c\r
134 gEmbeddedTokenSpaceGuid.PcdTimerVector|7|UINT32|0x0000001d\r
135 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000|UINT32|0x0000001e\r
136 gEmbeddedTokenSpaceGuid.PcdInterruptBaseAddress|0x38e00000|UINT32|0x0000001f\r
0e568a7b 137\r
138 gEmbeddedTokenSpaceGuid.PcdMetronomeTickPeriod|100|UINT32|0x00000020\r
3402aac7 139\r
2ef2b01e
A
140 gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress|0xffff0000|UINT32|0x00000030\r
141 gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize|0x0000000|UINT32|0x00000031\r
6f6e0596 142 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|0x0000000|UINT64|0x00000032\r
143 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|0x0000000|UINT32|0x00000033\r
2ef2b01e
A
144\r
145# Shell characteristics\r
146 gEmbeddedTokenSpaceGuid.PcdEmbeddedShellCharacterEcho|TRUE|BOOLEAN|0x00000046\r
147\r
148 gEmbeddedTokenSpaceGuid.PcdGdbBaudRate|115200|UINT64|0x00000047\r
149 gEmbeddedTokenSpaceGuid.PcdGdbDataBits|8|UINT8|0x00000048\r
150 gEmbeddedTokenSpaceGuid.PcdGdbParity|1|UINT8|0x00000049\r
151 gEmbeddedTokenSpaceGuid.PcdGdbStopBits|1|UINT8|0x0000004a\r
152 gEmbeddedTokenSpaceGuid.PcdGdbUartPort|0x3f8|UINT32|0x0000004b\r
153 gEmbeddedTokenSpaceGuid.PcdGdbMaxPacketRetryCount|10000000|UINT32|0x0000004c\r
6f6e0596 154 gEmbeddedTokenSpaceGuid.PcdGdbTimerPeriodMilliseconds|250|UINT32|0x0000004d\r
2ef2b01e 155\r
46f2c53b
OM
156 # LAN9118 Ethernet Driver PCDs\r
157 gEmbeddedTokenSpaceGuid.PcdLan9118DxeBaseAddress|0x0|UINT32|0x00000025\r
158 gEmbeddedTokenSpaceGuid.PcdLan9118DefaultMacAddress|0x0|UINT64|0x00000026\r
b7b7fb3d 159 gEmbeddedTokenSpaceGuid.PcdLan9118DefaultNegotiationTimeout|4000|UINT32|0x00000027\r
6336850c
RH
160 # The default feature mask below disables full duplex negotiation, since full\r
161 # duplex operation is suspected to be broken in the driver.\r
162 gEmbeddedTokenSpaceGuid.PcdLan9118NegotiationFeatureMask|0xFFFFFEBF|UINT32|0x00000028\r
46f2c53b 163\r
4395f82e
LL
164 # LAN91x Ethernet Driver PCDs\r
165 gEmbeddedTokenSpaceGuid.PcdLan91xDxeBaseAddress|0x0|UINT32|0x00000029\r
166\r
ee660531
LL
167 # DwEmmc Driver PCDs\r
168 gEmbeddedTokenSpaceGuid.PcdDwEmmcDxeBaseAddress|0x0|UINT32|0x00000035\r
169 gEmbeddedTokenSpaceGuid.PcdDwEmmcDxeClockFrequencyInHz|0x0|UINT32|0x00000036\r
170\r
d3f99770
OM
171 #\r
172 # Android FastBoot\r
173 #\r
174\r
175 # The Android FastBoot utility has hard-coded USB Vendor IDs that it recognises\r
176 # (and 0xf00d isn't one of them!).\r
177 # You'll need to pass it "-i 0xf00d" to get it to recognise this device.\r
178 gEmbeddedTokenSpaceGuid.PcdAndroidFastbootUsbVendorId|0xf00d|UINT32|0x00000022\r
179 gEmbeddedTokenSpaceGuid.PcdAndroidFastbootUsbProductId|0xbeef|UINT32|0x00000023\r
4d6e1e5a 180 gEmbeddedTokenSpaceGuid.PcdAndroidFastbootTcpPort|1234|UINT32|0x00000024\r
d3f99770 181\r
158497a0 182\r
34b292fa
OM
183[PcdsFixedAtBuild.ARM]\r
184 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32|UINT8|0x00000010\r
185 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0|UINT8|0x00000011\r
186\r
dbfd80d8
OM
187 # ISP1761 USB OTG Controller\r
188 gEmbeddedTokenSpaceGuid.PcdIsp1761BaseAddress|0|UINT32|0x00000021\r
189\r
34b292fa
OM
190[PcdsFixedAtBuild.AARCH64]\r
191 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|48|UINT8|0x00000010\r
192 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0|UINT8|0x00000011\r
193\r
dbfd80d8
OM
194 # ISP1761 USB OTG Controller\r
195 gEmbeddedTokenSpaceGuid.PcdIsp1761BaseAddress|0|UINT64|0x00000021\r
196\r
34b292fa
OM
197[PcdsFixedAtBuild.IA32]\r
198 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|36|UINT8|0x00000010\r
199 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16|UINT8|0x00000011\r
200\r
201[PcdsFixedAtBuild.X64]\r
202 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|52|UINT8|0x00000010\r
203 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16|UINT8|0x00000011\r
158497a0
RC
204\r
205[PcdsFixedAtBuild.common, PcdsDynamic.common]\r
206 gEmbeddedTokenSpaceGuid.PcdFdtDevicePaths|L""|VOID*|0x00000055\r