2013-01-25 12:28:06 +01:00
|
|
|
#/** @file
|
|
|
|
# Omap35xx SoC package.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
|
2016-11-28 00:26:06 +01:00
|
|
|
# Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
|
2013-01-25 12:28:06 +01:00
|
|
|
#
|
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
#
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#**/
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Defines Section - statements that will be processed to create a Makefile.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[Defines]
|
|
|
|
PLATFORM_NAME = Omap35xxPkg
|
|
|
|
PLATFORM_GUID = D196A631-B7B7-4953-A3EE-0F773CBABF20
|
|
|
|
PLATFORM_VERSION = 0.1
|
|
|
|
DSC_SPECIFICATION = 0x00010005
|
|
|
|
OUTPUT_DIRECTORY = Build/Omap35xxPkg
|
|
|
|
SUPPORTED_ARCHITECTURES = ARM
|
|
|
|
BUILD_TARGETS = DEBUG|RELEASE
|
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
DEFINE TARGET_HACK = DEBUG
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses.common]
|
|
|
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
|
|
|
|
2016-09-05 12:49:37 +02:00
|
|
|
ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
|
|
|
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
|
|
|
|
|
|
|
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
|
|
|
|
DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
|
|
|
|
PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
|
|
|
|
|
|
|
|
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
|
|
|
OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf
|
|
|
|
OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
|
|
|
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
|
|
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
|
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
|
|
|
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
|
|
|
|
|
|
|
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
|
|
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
|
|
|
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
2017-08-30 09:51:23 +02:00
|
|
|
DmaLib|EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
|
2016-10-25 19:06:42 +02:00
|
|
|
TimerLib|Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf
|
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
#
|
|
|
|
# Assume everything is fixed at build
|
|
|
|
#
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
|
|
|
|
UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses.common.DXE_DRIVER]
|
|
|
|
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
2016-12-09 16:04:35 +01:00
|
|
|
NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
|
|
|
|
[LibraryClasses.ARM]
|
|
|
|
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
2016-10-25 19:06:42 +02:00
|
|
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
|
|
|
|
[BuildOptions]
|
|
|
|
XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7
|
|
|
|
XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7
|
|
|
|
XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7
|
|
|
|
|
|
|
|
GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb
|
|
|
|
GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a
|
|
|
|
|
|
|
|
RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu 7-A
|
|
|
|
RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu 7-A
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2016-10-25 19:09:35 +02:00
|
|
|
*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
|
2013-01-25 12:28:06 +01:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Pcd Section - list of all EDK II PCD Entries defined by this Platform
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
[PcdsFixedAtBuild.common]
|
|
|
|
|
|
|
|
# DEBUG_ASSERT_ENABLED 0x01
|
|
|
|
# DEBUG_PRINT_ENABLED 0x02
|
|
|
|
# DEBUG_CODE_ENABLED 0x04
|
|
|
|
# CLEAR_MEMORY_ENABLED 0x08
|
|
|
|
# ASSERT_BREAKPOINT_ENABLED 0x10
|
|
|
|
# ASSERT_DEADLOOP_ENABLED 0x20
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
|
|
|
|
|
|
|
|
# DEBUG_INIT 0x00000001 // Initialization
|
|
|
|
# DEBUG_WARN 0x00000002 // Warnings
|
|
|
|
# DEBUG_LOAD 0x00000004 // Load events
|
|
|
|
# DEBUG_FS 0x00000008 // EFI File system
|
2016-03-01 10:28:50 +01:00
|
|
|
# DEBUG_POOL 0x00000010 // Alloc & Free (pool)
|
|
|
|
# DEBUG_PAGE 0x00000020 // Alloc & Free (page)
|
|
|
|
# DEBUG_INFO 0x00000040 // Informational debug messages
|
|
|
|
# DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
|
2013-01-25 12:28:06 +01:00
|
|
|
# DEBUG_VARIABLE 0x00000100 // Variable
|
|
|
|
# DEBUG_BM 0x00000400 // Boot Manager
|
|
|
|
# DEBUG_BLKIO 0x00001000 // BlkIo Driver
|
2016-03-01 10:28:50 +01:00
|
|
|
# DEBUG_NET 0x00004000 // SNP Driver
|
2013-01-25 12:28:06 +01:00
|
|
|
# DEBUG_UNDI 0x00010000 // UNDI Driver
|
2016-03-01 10:28:50 +01:00
|
|
|
# DEBUG_LOADFILE 0x00020000 // LoadFile
|
2013-01-25 12:28:06 +01:00
|
|
|
# DEBUG_EVENT 0x00080000 // Event messages
|
2016-03-01 10:28:50 +01:00
|
|
|
# DEBUG_GCD 0x00100000 // Global Coherency Database changes
|
|
|
|
# DEBUG_CACHE 0x00200000 // Memory range cachability changes
|
|
|
|
# DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
|
|
|
|
# // significantly impact boot performance
|
2013-01-25 12:28:06 +01:00
|
|
|
# DEBUG_ERROR 0x80000000 // Error
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000004
|
|
|
|
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0x87FE0000 # stack at top of memory
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0x20000 # 128K stack
|
|
|
|
gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80000000
|
|
|
|
gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
gOmap35xxTokenSpaceGuid.PcdOmap35xxGpmcOffset|0x6E000000
|
|
|
|
gOmap35xxTokenSpaceGuid.PcdOmap35xxMMCHS1Base|0x4809C000
|
|
|
|
|
2014-08-19 15:29:52 +02:00
|
|
|
# Console
|
2013-01-25 12:28:06 +01:00
|
|
|
gOmap35xxTokenSpaceGuid.PcdOmap35xxConsoleUart|3
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
# Timers
|
|
|
|
gOmap35xxTokenSpaceGuid.PcdOmap35xxArchTimer|3
|
|
|
|
gOmap35xxTokenSpaceGuid.PcdOmap35xxFreeTimer|4
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2016-11-28 00:26:06 +01:00
|
|
|
# OMAP Interrupt Controller
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdInterruptBaseAddress|0x48200000
|
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Components Section - list of all EDK II Modules needed by this Platform
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[Components.common]
|
2014-08-19 15:29:52 +02:00
|
|
|
Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
Omap35xxPkg/Library/OmapLib/OmapLib.inf
|
|
|
|
Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
Omap35xxPkg/Flash/Flash.inf
|
|
|
|
Omap35xxPkg/MMCHSDxe/MMCHS.inf
|
|
|
|
Omap35xxPkg/SmbusDxe/Smbus.inf
|
|
|
|
Omap35xxPkg/Gpio/Gpio.inf
|
|
|
|
Omap35xxPkg/InterruptDxe/InterruptDxe.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
Omap35xxPkg/TimerDxe/TimerDxe.inf
|
2013-01-25 12:28:06 +01:00
|
|
|
Omap35xxPkg/TPS65950Dxe/TPS65950.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2016-10-25 19:06:42 +02:00
|
|
|
Omap35xxPkg/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
|
|
|
|
Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
|
|
|
|
Omap35xxPkg/Library/EblCmdLib/EblCmdLib.inf
|
|
|
|
Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf
|
|
|
|
Omap35xxPkg/Library/RealTimeClockLib/RealTimeClockLib.inf
|
|
|
|
Omap35xxPkg/Library/SerialPortLib/SerialPortLib.inf
|
|
|
|
Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf
|
|
|
|
Omap35xxPkg/PciEmulation/PciEmulation.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
|