blob: 31c0bc7ec00b006ef6a8e8022efc9b0e0465d898 [file] [log] [blame]
andrewfisha3f98642010-01-28 21:32:01 +00001#/** @file
2# Omap35xx SoC package.
3#
hhtian3d706432010-04-29 12:46:45 +00004# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
andrewfisha3f98642010-01-28 21:32:01 +00005#
hhtian3d706432010-04-29 12:46:45 +00006# This program and the accompanying materials
andrewfisha3f98642010-01-28 21:32:01 +00007# are licensed and made available under the terms and conditions of the BSD License
8# which accompanies this distribution. The full text of the license may be found at
9# http://opensource.org/licenses/bsd-license.php
10#
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14#**/
15
16################################################################################
17#
18# Defines Section - statements that will be processed to create a Makefile.
19#
20################################################################################
21[Defines]
22 PLATFORM_NAME = Omap35xxPkg
23 PLATFORM_GUID = D196A631-B7B7-4953-A3EE-0F773CBABF20
24 PLATFORM_VERSION = 0.1
25 DSC_SPECIFICATION = 0x00010005
26 OUTPUT_DIRECTORY = Build/Omap35xxPkg
27 SUPPORTED_ARCHITECTURES = ARM
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 DEFINE TARGET_HACK = DEBUG
31
32
33[LibraryClasses.common]
34 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
35
andrewfish5dea9bd2010-02-18 01:57:13 +000036 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
andrewfisha3f98642010-01-28 21:32:01 +000037 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
38
39 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
40 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
41
42 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
43
44 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
45 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
46 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
47
48 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
49
50 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
51 OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf
andrewfish7f814ff2010-05-08 19:32:03 +000052 OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf
andrewfisha3f98642010-01-28 21:32:01 +000053
54 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
55 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
56 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
57 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
58 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
59
60 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
61 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
62 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
63
64#
65# Assume everything is fixed at build
66#
67 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
68
69 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
70
71 # UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
72 UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
73
74 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
75
76
77[LibraryClasses.common.DXE_DRIVER]
78 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
79
80
81[LibraryClasses.ARM]
82 #
83 # Note: This NULL library feature is not yet in the edk2/BaseTools, but it is checked in to
84 # the BaseTools project. So you need to build with the BaseTools project util this feature gets synced.
85 #
86 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
87
88
89[BuildOptions]
andrewfish801ee6c2010-04-13 18:25:49 +000090 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7
91 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7
92 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7
andrewfisha3f98642010-01-28 21:32:01 +000093
andrewfish5dea9bd2010-02-18 01:57:13 +000094 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu 7-A
95 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu 7-A
andrewfisha3f98642010-01-28 21:32:01 +000096
97
98################################################################################
99#
100# Pcd Section - list of all EDK II PCD Entries defined by this Platform
101#
102################################################################################
103
104
105[PcdsFixedAtBuild.common]
106
107# DEBUG_ASSERT_ENABLED 0x01
108# DEBUG_PRINT_ENABLED 0x02
109# DEBUG_CODE_ENABLED 0x04
110# CLEAR_MEMORY_ENABLED 0x08
111# ASSERT_BREAKPOINT_ENABLED 0x10
112# ASSERT_DEADLOOP_ENABLED 0x20
113 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
114
115# DEBUG_INIT 0x00000001 // Initialization
116# DEBUG_WARN 0x00000002 // Warnings
117# DEBUG_LOAD 0x00000004 // Load events
118# DEBUG_FS 0x00000008 // EFI File system
119# DEBUG_POOL 0x00000010 // Alloc & Free's
120# DEBUG_PAGE 0x00000020 // Alloc & Free's
121# DEBUG_INFO 0x00000040 // Verbose
122# DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
123# DEBUG_VARIABLE 0x00000100 // Variable
124# DEBUG_BM 0x00000400 // Boot Manager
125# DEBUG_BLKIO 0x00001000 // BlkIo Driver
126# DEBUG_NET 0x00004000 // SNI Driver
127# DEBUG_UNDI 0x00010000 // UNDI Driver
128# DEBUG_LOADFILE 0x00020000 // UNDI Driver
129# DEBUG_EVENT 0x00080000 // Event messages
130# DEBUG_ERROR 0x80000000 // Error
131 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000004
132
133 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
134
135 gEmbeddedTokenSpaceGuid.PcdPrePiTempMemorySize|0
136 gEmbeddedTokenSpaceGuid.PcdPrePiBfvBaseAddress|0
137 gEmbeddedTokenSpaceGuid.PcdPrePiBfvSize|0
138 gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0
139 gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0
andrewfisha3f98642010-01-28 21:32:01 +0000140 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|0x80001000
141 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0x87FE0000 # stack at top of memory
142 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0x20000 # 128K stack
andrewfisha3f98642010-01-28 21:32:01 +0000143 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80000000
144 gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000
145
andrewfish43263282010-04-03 00:34:19 +0000146 gOmap35xxTokenSpaceGuid.PcdOmap35xxGpmcOffset|0x6E000000
147 gOmap35xxTokenSpaceGuid.PcdOmap35xxMMCHS1Base|0x4809C000
andrewfisha3f98642010-01-28 21:32:01 +0000148
149 # Console
andrewfish43263282010-04-03 00:34:19 +0000150 gOmap35xxTokenSpaceGuid.PcdOmap35xxConsoleUart|3
andrewfisha3f98642010-01-28 21:32:01 +0000151
152 # Timers
andrewfish43263282010-04-03 00:34:19 +0000153 gOmap35xxTokenSpaceGuid.PcdOmap35xxArchTimer|3
154 gOmap35xxTokenSpaceGuid.PcdOmap35xxFreeTimer|4
andrewfisha3f98642010-01-28 21:32:01 +0000155 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
andrewfish55bff422010-04-21 22:06:00 +0000156 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77
157 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000
andrewfisha3f98642010-01-28 21:32:01 +0000158
159 #
160 # ARM Pcds
161 #
162 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
163
164################################################################################
165#
166# Components Section - list of all EDK II Modules needed by this Platform
167#
168################################################################################
169[Components.common]
andrewfish801ee6c2010-04-13 18:25:49 +0000170 Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf
andrewfisha3f98642010-01-28 21:32:01 +0000171 Omap35xxPkg/Library/OmapLib/OmapLib.inf
andrewfish7f814ff2010-05-08 19:32:03 +0000172 Omap35xxPkg/Library/OmapLib/OmapDmaLib.inf
andrewfisha3f98642010-01-28 21:32:01 +0000173
174 Omap35xxPkg/Flash/Flash.inf
175 Omap35xxPkg/MMCHSDxe/MMCHS.inf
176 Omap35xxPkg/SmbusDxe/Smbus.inf
177 Omap35xxPkg/Gpio/Gpio.inf
178 Omap35xxPkg/InterruptDxe/InterruptDxe.inf
179 Omap35xxPkg/TimerDxe/TimerDxe.inf
180 Omap35xxPkg/TPS65950Dxe/TPS65950.inf
181
182
183