]> git.proxmox.com Git - mirror_edk2.git/blame - Omap35xxPkg/Omap35xxPkg.dsc
Omap35xxPkg/MMCHSDxe: fix device path initializer
[mirror_edk2.git] / Omap35xxPkg / Omap35xxPkg.dsc
CommitLineData
1e57a462 1#/** @file\r
2# Omap35xx SoC package.\r
3#\r
4# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>\r
5#\r
6# This program and the accompanying materials\r
7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
10#\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
14#**/\r
15\r
16################################################################################\r
17#\r
18# Defines Section - statements that will be processed to create a Makefile.\r
19#\r
20################################################################################\r
21[Defines]\r
22 PLATFORM_NAME = Omap35xxPkg\r
23 PLATFORM_GUID = D196A631-B7B7-4953-A3EE-0F773CBABF20\r
24 PLATFORM_VERSION = 0.1\r
25 DSC_SPECIFICATION = 0x00010005\r
26 OUTPUT_DIRECTORY = Build/Omap35xxPkg\r
27 SUPPORTED_ARCHITECTURES = ARM\r
28 BUILD_TARGETS = DEBUG|RELEASE\r
29 SKUID_IDENTIFIER = DEFAULT\r
30 DEFINE TARGET_HACK = DEBUG\r
31\r
32\r
33[LibraryClasses.common]\r
34 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
35\r
4af5227c 36 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r
1e57a462 37 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
3402aac7 38\r
1e57a462 39 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
40 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
41\r
42 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
3402aac7 43\r
1e57a462 44 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
45 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
1e57a462 46 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
3402aac7 47\r
1e57a462 48 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf\r
49\r
50 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
51 OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf\r
52 OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf\r
3402aac7 53\r
1e57a462 54 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
55 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
56 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
57 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
58 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
59\r
60 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
61 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
62 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
63 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r
64\r
65#\r
66# Assume everything is fixed at build\r
67#\r
68 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
69\r
70 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
3402aac7 71\r
1e57a462 72 # UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
73 UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r
74\r
75 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
76\r
77\r
78[LibraryClasses.common.DXE_DRIVER]\r
79 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
80\r
81\r
82[LibraryClasses.ARM]\r
83 #\r
3402aac7 84 # Note: This NULL library feature is not yet in the edk2/BaseTools, but it is checked in to\r
1e57a462 85 # the BaseTools project. So you need to build with the BaseTools project util this feature gets synced.\r
86 #\r
87 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
88\r
89\r
90[BuildOptions]\r
91 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7\r
92 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7\r
93 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7\r
94\r
95 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb\r
96 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a\r
97\r
98 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu 7-A\r
99 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu 7-A\r
3402aac7 100\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.PcdPrePiTempMemorySize|0\r
144 gEmbeddedTokenSpaceGuid.PcdPrePiBfvBaseAddress|0\r
145 gEmbeddedTokenSpaceGuid.PcdPrePiBfvSize|0\r
146 gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0\r
147 gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0\r
148 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|0x80001000\r
149 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0x87FE0000 # stack at top of memory\r
150 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0x20000 # 128K stack\r
151 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80000000\r
152 gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000\r
3402aac7 153\r
1e57a462 154 gOmap35xxTokenSpaceGuid.PcdOmap35xxGpmcOffset|0x6E000000\r
155 gOmap35xxTokenSpaceGuid.PcdOmap35xxMMCHS1Base|0x4809C000\r
156\r
3402aac7 157 # Console\r
1e57a462 158 gOmap35xxTokenSpaceGuid.PcdOmap35xxConsoleUart|3\r
3402aac7 159\r
1e57a462 160 # Timers\r
161 gOmap35xxTokenSpaceGuid.PcdOmap35xxArchTimer|3\r
162 gOmap35xxTokenSpaceGuid.PcdOmap35xxFreeTimer|4\r
163 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r
164 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77\r
165 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000\r
3402aac7 166\r
1e57a462 167 #\r
168 # ARM Pcds\r
169 #\r
170 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r
171\r
172################################################################################\r
173#\r
174# Components Section - list of all EDK II Modules needed by this Platform\r
175#\r
176################################################################################\r
177[Components.common]\r
3402aac7 178 Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf\r
1e57a462 179 Omap35xxPkg/Library/OmapLib/OmapLib.inf\r
180 Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf\r
3402aac7 181\r
1e57a462 182 Omap35xxPkg/Flash/Flash.inf\r
183 Omap35xxPkg/MMCHSDxe/MMCHS.inf\r
184 Omap35xxPkg/SmbusDxe/Smbus.inf\r
185 Omap35xxPkg/Gpio/Gpio.inf\r
186 Omap35xxPkg/InterruptDxe/InterruptDxe.inf\r
3402aac7 187 Omap35xxPkg/TimerDxe/TimerDxe.inf\r
1e57a462 188 Omap35xxPkg/TPS65950Dxe/TPS65950.inf\r
3402aac7
RC
189\r
190\r
1e57a462 191\r