]> git.proxmox.com Git - mirror_edk2.git/blame - Omap35xxPkg/Omap35xxPkg.dsc
ArmPkg/CpuDxe: drop ARMv4 exception handling code
[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
36 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
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
46 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r
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
66#\r
67# Assume everything is fixed at build\r
68#\r
69 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
70\r
71 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
3402aac7 72\r
1e57a462 73 # UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
74 UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r
75\r
76 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
77\r
78\r
79[LibraryClasses.common.DXE_DRIVER]\r
80 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
81\r
82\r
83[LibraryClasses.ARM]\r
84 #\r
3402aac7 85 # Note: This NULL library feature is not yet in the edk2/BaseTools, but it is checked in to\r
1e57a462 86 # the BaseTools project. So you need to build with the BaseTools project util this feature gets synced.\r
87 #\r
88 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
89\r
90\r
91[BuildOptions]\r
92 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7\r
93 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7\r
94 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7\r
95\r
96 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb\r
97 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a\r
98\r
99 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu 7-A\r
100 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu 7-A\r
3402aac7 101\r
1e57a462 102\r
103################################################################################\r
104#\r
105# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
106#\r
107################################################################################\r
108\r
3402aac7 109\r
1e57a462 110[PcdsFixedAtBuild.common]\r
111\r
112# DEBUG_ASSERT_ENABLED 0x01\r
113# DEBUG_PRINT_ENABLED 0x02\r
114# DEBUG_CODE_ENABLED 0x04\r
115# CLEAR_MEMORY_ENABLED 0x08\r
116# ASSERT_BREAKPOINT_ENABLED 0x10\r
117# ASSERT_DEADLOOP_ENABLED 0x20\r
118 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r
119\r
120# DEBUG_INIT 0x00000001 // Initialization\r
121# DEBUG_WARN 0x00000002 // Warnings\r
122# DEBUG_LOAD 0x00000004 // Load events\r
123# DEBUG_FS 0x00000008 // EFI File system\r
124# DEBUG_POOL 0x00000010 // Alloc & Free's\r
125# DEBUG_PAGE 0x00000020 // Alloc & Free's\r
126# DEBUG_INFO 0x00000040 // Verbose\r
127# DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers\r
128# DEBUG_VARIABLE 0x00000100 // Variable\r
129# DEBUG_BM 0x00000400 // Boot Manager\r
130# DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
131# DEBUG_NET 0x00004000 // SNI Driver\r
132# DEBUG_UNDI 0x00010000 // UNDI Driver\r
133# DEBUG_LOADFILE 0x00020000 // UNDI Driver\r
134# DEBUG_EVENT 0x00080000 // Event messages\r
135# DEBUG_ERROR 0x80000000 // Error\r
136 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000004\r
137\r
138 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
3402aac7 139\r
1e57a462 140 gEmbeddedTokenSpaceGuid.PcdPrePiTempMemorySize|0\r
141 gEmbeddedTokenSpaceGuid.PcdPrePiBfvBaseAddress|0\r
142 gEmbeddedTokenSpaceGuid.PcdPrePiBfvSize|0\r
143 gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0\r
144 gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0\r
145 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|0x80001000\r
146 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0x87FE0000 # stack at top of memory\r
147 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0x20000 # 128K stack\r
148 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80000000\r
149 gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000\r
3402aac7 150\r
1e57a462 151 gOmap35xxTokenSpaceGuid.PcdOmap35xxGpmcOffset|0x6E000000\r
152 gOmap35xxTokenSpaceGuid.PcdOmap35xxMMCHS1Base|0x4809C000\r
153\r
3402aac7 154 # Console\r
1e57a462 155 gOmap35xxTokenSpaceGuid.PcdOmap35xxConsoleUart|3\r
3402aac7 156\r
1e57a462 157 # Timers\r
158 gOmap35xxTokenSpaceGuid.PcdOmap35xxArchTimer|3\r
159 gOmap35xxTokenSpaceGuid.PcdOmap35xxFreeTimer|4\r
160 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r
161 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77\r
162 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000\r
3402aac7 163\r
1e57a462 164 #\r
165 # ARM Pcds\r
166 #\r
167 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r
168\r
169################################################################################\r
170#\r
171# Components Section - list of all EDK II Modules needed by this Platform\r
172#\r
173################################################################################\r
174[Components.common]\r
3402aac7 175 Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf\r
1e57a462 176 Omap35xxPkg/Library/OmapLib/OmapLib.inf\r
177 Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf\r
3402aac7 178\r
1e57a462 179 Omap35xxPkg/Flash/Flash.inf\r
180 Omap35xxPkg/MMCHSDxe/MMCHS.inf\r
181 Omap35xxPkg/SmbusDxe/Smbus.inf\r
182 Omap35xxPkg/Gpio/Gpio.inf\r
183 Omap35xxPkg/InterruptDxe/InterruptDxe.inf\r
3402aac7 184 Omap35xxPkg/TimerDxe/TimerDxe.inf\r
1e57a462 185 Omap35xxPkg/TPS65950Dxe/TPS65950.inf\r
3402aac7
RC
186\r
187\r
1e57a462 188\r