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