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