Omap35xxPkg.dsc 7.7 KB

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