]> git.proxmox.com Git - mirror_edk2.git/blame - Omap35xxPkg/Omap35xxPkg.dsc
EmbeddedPkg: Remove use of IntelFrameworkModulePkg legacy libs
[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
a19d7081
AB
65 TimerLib|Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf\r
66\r
1e57a462 67#\r
68# Assume everything is fixed at build\r
69#\r
70 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
71\r
72 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
3402aac7 73\r
1e57a462 74 # UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
75 UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r
76\r
77 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
78\r
79\r
80[LibraryClasses.common.DXE_DRIVER]\r
81 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
82\r
83\r
84[LibraryClasses.ARM]\r
1e57a462 85 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
a19d7081 86 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
1e57a462 87\r
88[BuildOptions]\r
89 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7\r
90 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7\r
91 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7\r
92\r
93 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb\r
94 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a\r
95\r
96 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu 7-A\r
97 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu 7-A\r
3402aac7 98\r
a125281d 99 *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r
1e57a462 100\r
101################################################################################\r
102#\r
103# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
104#\r
105################################################################################\r
106\r
3402aac7 107\r
1e57a462 108[PcdsFixedAtBuild.common]\r
109\r
110# DEBUG_ASSERT_ENABLED 0x01\r
111# DEBUG_PRINT_ENABLED 0x02\r
112# DEBUG_CODE_ENABLED 0x04\r
113# CLEAR_MEMORY_ENABLED 0x08\r
114# ASSERT_BREAKPOINT_ENABLED 0x10\r
115# ASSERT_DEADLOOP_ENABLED 0x20\r
116 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r
117\r
118# DEBUG_INIT 0x00000001 // Initialization\r
119# DEBUG_WARN 0x00000002 // Warnings\r
120# DEBUG_LOAD 0x00000004 // Load events\r
121# DEBUG_FS 0x00000008 // EFI File system\r
907e1194
LE
122# DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
123# DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
124# DEBUG_INFO 0x00000040 // Informational debug messages\r
125# DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
1e57a462 126# DEBUG_VARIABLE 0x00000100 // Variable\r
127# DEBUG_BM 0x00000400 // Boot Manager\r
128# DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
907e1194 129# DEBUG_NET 0x00004000 // SNP Driver\r
1e57a462 130# DEBUG_UNDI 0x00010000 // UNDI Driver\r
907e1194 131# DEBUG_LOADFILE 0x00020000 // LoadFile\r
1e57a462 132# DEBUG_EVENT 0x00080000 // Event messages\r
907e1194
LE
133# DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
134# DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
135# DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
136# // significantly impact boot performance\r
1e57a462 137# DEBUG_ERROR 0x80000000 // Error\r
138 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000004\r
139\r
140 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
3402aac7 141\r
1e57a462 142 gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0\r
143 gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0\r
1e57a462 144 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0x87FE0000 # stack at top of memory\r
145 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0x20000 # 128K stack\r
146 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80000000\r
147 gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000\r
3402aac7 148\r
1e57a462 149 gOmap35xxTokenSpaceGuid.PcdOmap35xxGpmcOffset|0x6E000000\r
150 gOmap35xxTokenSpaceGuid.PcdOmap35xxMMCHS1Base|0x4809C000\r
151\r
3402aac7 152 # Console\r
1e57a462 153 gOmap35xxTokenSpaceGuid.PcdOmap35xxConsoleUart|3\r
3402aac7 154\r
1e57a462 155 # Timers\r
156 gOmap35xxTokenSpaceGuid.PcdOmap35xxArchTimer|3\r
157 gOmap35xxTokenSpaceGuid.PcdOmap35xxFreeTimer|4\r
158 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r
159 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77\r
160 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000\r
3402aac7 161\r
1e57a462 162 #\r
163 # ARM Pcds\r
164 #\r
165 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r
166\r
167################################################################################\r
168#\r
169# Components Section - list of all EDK II Modules needed by this Platform\r
170#\r
171################################################################################\r
172[Components.common]\r
3402aac7 173 Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf\r
1e57a462 174 Omap35xxPkg/Library/OmapLib/OmapLib.inf\r
175 Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf\r
3402aac7 176\r
1e57a462 177 Omap35xxPkg/Flash/Flash.inf\r
178 Omap35xxPkg/MMCHSDxe/MMCHS.inf\r
179 Omap35xxPkg/SmbusDxe/Smbus.inf\r
180 Omap35xxPkg/Gpio/Gpio.inf\r
181 Omap35xxPkg/InterruptDxe/InterruptDxe.inf\r
3402aac7 182 Omap35xxPkg/TimerDxe/TimerDxe.inf\r
1e57a462 183 Omap35xxPkg/TPS65950Dxe/TPS65950.inf\r
3402aac7 184\r
a19d7081
AB
185 Omap35xxPkg/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf\r
186 Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf\r
187 Omap35xxPkg/Library/EblCmdLib/EblCmdLib.inf\r
188 Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf\r
189 Omap35xxPkg/Library/RealTimeClockLib/RealTimeClockLib.inf\r
190 Omap35xxPkg/Library/SerialPortLib/SerialPortLib.inf\r
191 Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf\r
192 Omap35xxPkg/PciEmulation/PciEmulation.inf\r
3402aac7 193\r
1e57a462 194\r