]>
Commit | Line | Data |
---|---|---|
1e57a462 | 1 | #/** @file\r |
2 | # Omap35xx SoC package.\r | |
3 | #\r | |
4 | # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>\r | |
209b8f3c | 5 | # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r |
1e57a462 | 6 | #\r |
538311f7 | 7 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
1e57a462 | 8 | #\r |
9 | #**/\r | |
10 | \r | |
11 | ################################################################################\r | |
12 | #\r | |
13 | # Defines Section - statements that will be processed to create a Makefile.\r | |
14 | #\r | |
15 | ################################################################################\r | |
16 | [Defines]\r | |
17 | PLATFORM_NAME = Omap35xxPkg\r | |
18 | PLATFORM_GUID = D196A631-B7B7-4953-A3EE-0F773CBABF20\r | |
19 | PLATFORM_VERSION = 0.1\r | |
20 | DSC_SPECIFICATION = 0x00010005\r | |
21 | OUTPUT_DIRECTORY = Build/Omap35xxPkg\r | |
22 | SUPPORTED_ARCHITECTURES = ARM\r | |
23 | BUILD_TARGETS = DEBUG|RELEASE\r | |
24 | SKUID_IDENTIFIER = DEFAULT\r | |
25 | DEFINE TARGET_HACK = DEBUG\r | |
26 | \r | |
27 | \r | |
28 | [LibraryClasses.common]\r | |
29 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
30 | \r | |
4af5227c | 31 | ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r |
1e57a462 | 32 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
3402aac7 | 33 | \r |
1e57a462 | 34 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r |
35 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
36 | \r | |
37 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
3402aac7 | 38 | \r |
1e57a462 | 39 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r |
40 | DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r | |
1e57a462 | 41 | PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r |
3402aac7 | 42 | \r |
1e57a462 | 43 | RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf\r |
44 | \r | |
45 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
46 | OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf\r | |
47 | OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf\r | |
3402aac7 | 48 | \r |
1e57a462 | 49 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
50 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
51 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
52 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
53 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
54 | \r | |
55 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
56 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
57 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
c878cd95 | 58 | DmaLib|EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf\r |
1e57a462 | 59 | \r |
a19d7081 AB |
60 | TimerLib|Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf\r |
61 | \r | |
1e57a462 | 62 | #\r |
63 | # Assume everything is fixed at build\r | |
64 | #\r | |
65 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
66 | \r | |
67 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
3402aac7 | 68 | \r |
1e57a462 | 69 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r |
70 | \r | |
71 | \r | |
72 | [LibraryClasses.common.DXE_DRIVER]\r | |
73 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
04fd7859 | 74 | NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf\r |
1e57a462 | 75 | \r |
76 | [LibraryClasses.ARM]\r | |
1e57a462 | 77 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r |
a19d7081 | 78 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r |
1e57a462 | 79 | \r |
80 | [BuildOptions]\r | |
81 | XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7\r | |
82 | XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7\r | |
83 | XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7\r | |
84 | \r | |
85 | GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb\r | |
86 | GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a\r | |
87 | \r | |
88 | RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu 7-A\r | |
89 | RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu 7-A\r | |
3402aac7 | 90 | \r |
a125281d | 91 | *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r |
1e57a462 | 92 | \r |
93 | ################################################################################\r | |
94 | #\r | |
95 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r | |
96 | #\r | |
97 | ################################################################################\r | |
98 | \r | |
3402aac7 | 99 | \r |
1e57a462 | 100 | [PcdsFixedAtBuild.common]\r |
101 | \r | |
102 | # DEBUG_ASSERT_ENABLED 0x01\r | |
103 | # DEBUG_PRINT_ENABLED 0x02\r | |
104 | # DEBUG_CODE_ENABLED 0x04\r | |
105 | # CLEAR_MEMORY_ENABLED 0x08\r | |
106 | # ASSERT_BREAKPOINT_ENABLED 0x10\r | |
107 | # ASSERT_DEADLOOP_ENABLED 0x20\r | |
108 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r | |
109 | \r | |
110 | # DEBUG_INIT 0x00000001 // Initialization\r | |
111 | # DEBUG_WARN 0x00000002 // Warnings\r | |
112 | # DEBUG_LOAD 0x00000004 // Load events\r | |
113 | # DEBUG_FS 0x00000008 // EFI File system\r | |
907e1194 LE |
114 | # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r |
115 | # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r | |
116 | # DEBUG_INFO 0x00000040 // Informational debug messages\r | |
117 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r | |
1e57a462 | 118 | # DEBUG_VARIABLE 0x00000100 // Variable\r |
119 | # DEBUG_BM 0x00000400 // Boot Manager\r | |
120 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r | |
907e1194 | 121 | # DEBUG_NET 0x00004000 // SNP Driver\r |
1e57a462 | 122 | # DEBUG_UNDI 0x00010000 // UNDI Driver\r |
907e1194 | 123 | # DEBUG_LOADFILE 0x00020000 // LoadFile\r |
1e57a462 | 124 | # DEBUG_EVENT 0x00080000 // Event messages\r |
907e1194 LE |
125 | # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r |
126 | # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r | |
127 | # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r | |
128 | # // significantly impact boot performance\r | |
1e57a462 | 129 | # DEBUG_ERROR 0x80000000 // Error\r |
130 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000004\r | |
131 | \r | |
132 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r | |
3402aac7 | 133 | \r |
1e57a462 | 134 | gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0\r |
135 | gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0\r | |
1e57a462 | 136 | gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0x87FE0000 # stack at top of memory\r |
137 | gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0x20000 # 128K stack\r | |
138 | gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80000000\r | |
139 | gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000\r | |
3402aac7 | 140 | \r |
1e57a462 | 141 | gOmap35xxTokenSpaceGuid.PcdOmap35xxGpmcOffset|0x6E000000\r |
142 | gOmap35xxTokenSpaceGuid.PcdOmap35xxMMCHS1Base|0x4809C000\r | |
143 | \r | |
3402aac7 | 144 | # Console\r |
1e57a462 | 145 | gOmap35xxTokenSpaceGuid.PcdOmap35xxConsoleUart|3\r |
3402aac7 | 146 | \r |
1e57a462 | 147 | # Timers\r |
148 | gOmap35xxTokenSpaceGuid.PcdOmap35xxArchTimer|3\r | |
149 | gOmap35xxTokenSpaceGuid.PcdOmap35xxFreeTimer|4\r | |
150 | gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r | |
151 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77\r | |
152 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000\r | |
3402aac7 | 153 | \r |
209b8f3c LL |
154 | # OMAP Interrupt Controller\r |
155 | gEmbeddedTokenSpaceGuid.PcdInterruptBaseAddress|0x48200000\r | |
156 | \r | |
1e57a462 | 157 | ################################################################################\r |
158 | #\r | |
159 | # Components Section - list of all EDK II Modules needed by this Platform\r | |
160 | #\r | |
161 | ################################################################################\r | |
162 | [Components.common]\r | |
3402aac7 | 163 | Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf\r |
1e57a462 | 164 | Omap35xxPkg/Library/OmapLib/OmapLib.inf\r |
165 | Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf\r | |
3402aac7 | 166 | \r |
1e57a462 | 167 | Omap35xxPkg/Flash/Flash.inf\r |
168 | Omap35xxPkg/MMCHSDxe/MMCHS.inf\r | |
169 | Omap35xxPkg/SmbusDxe/Smbus.inf\r | |
170 | Omap35xxPkg/Gpio/Gpio.inf\r | |
171 | Omap35xxPkg/InterruptDxe/InterruptDxe.inf\r | |
3402aac7 | 172 | Omap35xxPkg/TimerDxe/TimerDxe.inf\r |
1e57a462 | 173 | Omap35xxPkg/TPS65950Dxe/TPS65950.inf\r |
3402aac7 | 174 | \r |
a19d7081 AB |
175 | Omap35xxPkg/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf\r |
176 | Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf\r | |
a19d7081 AB |
177 | Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf\r |
178 | Omap35xxPkg/Library/RealTimeClockLib/RealTimeClockLib.inf\r | |
179 | Omap35xxPkg/Library/SerialPortLib/SerialPortLib.inf\r | |
180 | Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf\r | |
181 | Omap35xxPkg/PciEmulation/PciEmulation.inf\r | |
3402aac7 | 182 | \r |
1e57a462 | 183 | \r |