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