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