• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#/** @file
2# Beagle board package.
3#
4# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
5# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
6# Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
7#
8#    This program and the accompanying materials
9#    are licensed and made available under the terms and conditions of the BSD License
10#    which accompanies this distribution. The full text of the license may be found at
11#    http://opensource.org/licenses/bsd-license.php
12#
13#    THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14#    WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15#
16#**/
17
18################################################################################
19#
20# Defines Section - statements that will be processed to create a Makefile.
21#
22################################################################################
23[Defines]
24  PLATFORM_NAME                  = BeagleBoardPkg
25  PLATFORM_GUID                  = 91fa6c28-33df-46ac-aee6-292d6811ea31
26  PLATFORM_VERSION               = 0.1
27  DSC_SPECIFICATION              = 0x00010005
28  OUTPUT_DIRECTORY               = Build/BeagleBoard
29  SUPPORTED_ARCHITECTURES        = ARM
30  BUILD_TARGETS                  = DEBUG|RELEASE
31  SKUID_IDENTIFIER               = DEFAULT
32  FLASH_DEFINITION               = BeagleBoardPkg/BeagleBoardPkg.fdf
33
34
35[LibraryClasses.common]
36  ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
37  ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
38  ArmPlatformLib|BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardLib.inf
39  ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA8Lib/ArmCortexA8Lib.inf
40  ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
41  ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
42
43  HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
44  UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
45
46!if $(TARGET) == RELEASE
47  DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
48  UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
49!else
50  DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
51  UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
52#  UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
53!endif
54  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
55
56  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
57
58  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
59  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
60
61  EfiResetSystemLib|BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf
62
63  PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
64  PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
65  PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
66
67  EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
68
69  # These libraries are used by the dynamic EFI Shell commands
70  ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
71  FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
72  SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
73
74  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
75
76  #
77  # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
78  # in the debugger will show load and unload commands for symbols. You can cut and paste this
79  # into the command window to load symbols. We should be able to use a script to do this, but
80  # the version of RVD I have does not support scipts accessing system memory.
81  #
82#  PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
83  PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
84#  PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
85
86
87  CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
88  DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
89  CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
90  PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
91
92  SerialPortLib|Omap35xxPkg/Library/SerialPortLib/SerialPortLib.inf
93  SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
94
95  RealTimeClockLib|Omap35xxPkg/Library/RealTimeClockLib/RealTimeClockLib.inf
96
97  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
98
99  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
100  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
101  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
102  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
103  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
104  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
105
106  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
107  UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
108  UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
109
110#
111# Assume everything is fixed at build
112#
113  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
114
115  UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
116
117  UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
118
119  CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
120
121  TimerLib|Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf
122  OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf
123  OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf
124  DebugAgentTimerLib|Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
125
126  GdbSerialLib|Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf
127  ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
128  DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
129  DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
130
131  NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
132  FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
133
134  UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
135  PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
136  CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
137
138  # UiApp dependencies
139  ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
140  FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
141  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
142
143[LibraryClasses.common.SEC]
144  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
145  ReportStatusCodeLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
146  UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
147  ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
148  LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
149
150  PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
151
152  HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
153  PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
154  MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
155  PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
156  PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
157  MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
158
159  # 1/123 faster than Stm or Vstm version
160  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
161
162  # Uncomment to turn on GDB stub in SEC.
163  #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
164
165[LibraryClasses.common.PEI_CORE]
166  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
167  ReportStatusCodeLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
168
169[LibraryClasses.common.DXE_CORE]
170  HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
171  MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
172  DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
173  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
174  ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
175  UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
176  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
177#  PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
178  PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
179
180  PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
181
182
183[LibraryClasses.common.DXE_DRIVER]
184  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
185  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
186  SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
187  PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
188  NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf
189
190[LibraryClasses.common.UEFI_APPLICATION]
191  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
192  UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
193  PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
194  HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
195
196[LibraryClasses.common.UEFI_DRIVER]
197  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
198  UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
199  ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
200  PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
201  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
202
203[LibraryClasses.common.DXE_RUNTIME_DRIVER]
204  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
205  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
206  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
207  CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
208#  PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
209  PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
210
211
212[LibraryClasses.ARM]
213  #
214  # It is not possible to prevent the ARM compiler for generic intrinsic functions.
215  # This library provides the instrinsic functions generate by a given compiler.
216  # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
217  #
218  NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
219
220  # Add support for GCC stack protector
221  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
222
223[BuildOptions]
224  XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
225  GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a
226  RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
227
228  *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
229
230################################################################################
231#
232# Pcd Section - list of all EDK II PCD Entries defined by this Platform
233#
234################################################################################
235
236[PcdsFeatureFlag.common]
237  gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
238  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
239  gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
240  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
241
242  #
243  # Control what commands are supported from the UI
244  # Turn these on and off to add features or save size
245  #
246  gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
247  gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
248  gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
249  gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
250  gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
251  gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
252  gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
253
254  gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
255
256  # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
257  gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
258
259  gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
260  gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE
261
262  gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
263
264  ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
265  #  It could be set FALSE to save size.
266  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
267
268[PcdsFixedAtBuild.common]
269  gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"Beagle Board"
270
271  gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"BeagleEdk2"
272  gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
273  gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
274  gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
275  gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
276  gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
277  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
278  gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
279  gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
280
281# DEBUG_ASSERT_ENABLED       0x01
282# DEBUG_PRINT_ENABLED        0x02
283# DEBUG_CODE_ENABLED         0x04
284# CLEAR_MEMORY_ENABLED       0x08
285# ASSERT_BREAKPOINT_ENABLED  0x10
286# ASSERT_DEADLOOP_ENABLED    0x20
287!if $(TARGET) == RELEASE
288  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
289!else
290  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
291!endif
292
293#  DEBUG_INIT      0x00000001  // Initialization
294#  DEBUG_WARN      0x00000002  // Warnings
295#  DEBUG_LOAD      0x00000004  // Load events
296#  DEBUG_FS        0x00000008  // EFI File system
297#  DEBUG_POOL      0x00000010  // Alloc & Free (pool)
298#  DEBUG_PAGE      0x00000020  // Alloc & Free (page)
299#  DEBUG_INFO      0x00000040  // Informational debug messages
300#  DEBUG_DISPATCH  0x00000080  // PEI/DXE/SMM Dispatchers
301#  DEBUG_VARIABLE  0x00000100  // Variable
302#  DEBUG_BM        0x00000400  // Boot Manager
303#  DEBUG_BLKIO     0x00001000  // BlkIo Driver
304#  DEBUG_NET       0x00004000  // SNP Driver
305#  DEBUG_UNDI      0x00010000  // UNDI Driver
306#  DEBUG_LOADFILE  0x00020000  // LoadFile
307#  DEBUG_EVENT     0x00080000  // Event messages
308#  DEBUG_GCD       0x00100000  // Global Coherency Database changes
309#  DEBUG_CACHE     0x00200000  // Memory range cachability changes
310#  DEBUG_VERBOSE   0x00400000  // Detailed debug messages that may
311#                              // significantly impact boot performance
312#  DEBUG_ERROR     0x80000000  // Error
313  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
314
315  gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
316
317  gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
318  gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
319  gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
320
321#
322# Optional feature to help prevent EFI memory map fragments
323# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
324# Values are in EFI Pages (4K). DXE Core will make sure that
325# at least this much of each type of memory can be allocated
326# from a single memory range. This way you only end up with
327# maximum of two fragements for each type in the memory map
328# (the memory used, and the free memory that was prereserved
329# but not used).
330#
331  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
332  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
333  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
334  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80
335  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|40
336  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
337  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|3000
338  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|10
339  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
340
341  gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
342
343#
344# Beagle board Specific PCDs
345#
346  gArmTokenSpaceGuid.PcdVFPEnabled|1
347
348  gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000
349  gArmTokenSpaceGuid.PcdSystemMemorySize|0x08000000
350
351  # Size of the region used by UEFI in permanent memory (Reserved 16MB)
352  gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x01000000
353
354  # Size of the region reserved for fixed address allocations (Reserved 32MB)
355  gArmTokenSpaceGuid.PcdArmLinuxKernelMaxOffset|0x02000000
356
357  gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80008000
358  gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000
359
360  gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
361  gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77
362  gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000
363
364  # OMAP Interrupt Controller
365  gEmbeddedTokenSpaceGuid.PcdInterruptBaseAddress|0x48200000
366
367  # We want to use the Shell Libraries but don't want it to initialise
368  # automatically. We initialise the libraries when the command is called by the
369  # Shell.
370  gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
371
372  #
373  # ARM Pcds
374  #
375  gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
376
377  gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|10
378
379  # GUID of the UEFI Shell
380  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
381
382  # GUID of the UI app
383  gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
384
385  gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
386
387################################################################################
388#
389# Components Section - list of all EDK II Modules needed by this Platform
390#
391################################################################################
392[Components.common]
393
394  #
395  # SEC
396  #
397  ArmPlatformPkg/PrePi/PeiUniCore.inf
398
399  #
400  # DXE
401  #
402  MdeModulePkg/Core/Dxe/DxeMain.inf {
403    <LibraryClasses>
404      PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
405      NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
406      NULL|EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf
407  }
408
409  ArmPkg/Drivers/CpuDxe/CpuDxe.inf
410
411  MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
412  MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
413  MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
414  MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
415  MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
416  EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
417
418  MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
419  MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
420  MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
421  MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
422  MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
423#
424# This version uses semi-hosting console
425#  EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf {
426#    <LibraryClasses>
427#      SerialPortLib|ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
428#  }
429
430  EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
431  EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
432  EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
433
434  #
435  # Semi-hosting filesystem
436  #
437  ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
438
439  #
440  # FAT filesystem + GPT/MBR partitioning
441  #
442  MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
443  MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
444  MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
445  FatPkg/EnhancedFatDxe/Fat.inf
446
447  #
448  # USB
449  #
450  Omap35xxPkg/PciEmulation/PciEmulation.inf
451  MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
452
453  MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf {
454    <PcdsFixedAtBuild>
455      gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800fffff
456  }
457
458  MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
459  MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
460
461  #
462  # Nand Flash
463  #
464  Omap35xxPkg/Flash/Flash.inf
465
466  #
467  # MMC/SD
468  #
469  EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
470  Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf
471
472  #
473  # I2C
474  #
475  Omap35xxPkg/SmbusDxe/Smbus.inf
476
477  #
478  # SoC Drivers
479  #
480  Omap35xxPkg/Gpio/Gpio.inf
481  Omap35xxPkg/InterruptDxe/InterruptDxe.inf
482  Omap35xxPkg/TimerDxe/TimerDxe.inf
483  Omap35xxPkg/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
484
485  #
486  # Power IC
487  #
488  Omap35xxPkg/TPS65950Dxe/TPS65950.inf
489
490  #
491  # Bds
492  #
493  MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
494  MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
495  MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
496  MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
497  MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
498  MdeModulePkg/Application/UiApp/UiApp.inf {
499    <LibraryClasses>
500      NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
501      NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
502      NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
503  }
504  ShellPkg/Application/Shell/Shell.inf {
505    <LibraryClasses>
506      ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
507      NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
508      NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
509      NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
510      NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
511      NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
512      NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
513      NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
514      NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
515      HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
516      PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
517      BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
518
519    <PcdsFixedAtBuild>
520      gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
521      gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
522      gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
523  }
524