Omap35xxPkg.dsc 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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
  23. SKUID_IDENTIFIER = DEFAULT
  24. DEFINE TARGET_HACK = DEBUG
  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|Omap35xxPkg/Library/OmapLib/OmapLib.inf
  38. OmapDmaLib|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|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. RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu 7-A
  68. RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu 7-A
  69. *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
  70. ################################################################################
  71. #
  72. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  73. #
  74. ################################################################################
  75. [PcdsFixedAtBuild.common]
  76. # DEBUG_ASSERT_ENABLED 0x01
  77. # DEBUG_PRINT_ENABLED 0x02
  78. # DEBUG_CODE_ENABLED 0x04
  79. # CLEAR_MEMORY_ENABLED 0x08
  80. # ASSERT_BREAKPOINT_ENABLED 0x10
  81. # ASSERT_DEADLOOP_ENABLED 0x20
  82. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
  83. # DEBUG_INIT 0x00000001 // Initialization
  84. # DEBUG_WARN 0x00000002 // Warnings
  85. # DEBUG_LOAD 0x00000004 // Load events
  86. # DEBUG_FS 0x00000008 // EFI File system
  87. # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
  88. # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
  89. # DEBUG_INFO 0x00000040 // Informational debug messages
  90. # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
  91. # DEBUG_VARIABLE 0x00000100 // Variable
  92. # DEBUG_BM 0x00000400 // Boot Manager
  93. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  94. # DEBUG_NET 0x00004000 // SNP Driver
  95. # DEBUG_UNDI 0x00010000 // UNDI Driver
  96. # DEBUG_LOADFILE 0x00020000 // LoadFile
  97. # DEBUG_EVENT 0x00080000 // Event messages
  98. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  99. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  100. # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
  101. # // significantly impact boot performance
  102. # DEBUG_ERROR 0x80000000 // Error
  103. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000004
  104. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  105. gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0
  106. gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0
  107. gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0x87FE0000 # stack at top of memory
  108. gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0x20000 # 128K stack
  109. gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80000000
  110. gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000
  111. gOmap35xxTokenSpaceGuid.PcdOmap35xxGpmcOffset|0x6E000000
  112. gOmap35xxTokenSpaceGuid.PcdOmap35xxMMCHS1Base|0x4809C000
  113. # Console
  114. gOmap35xxTokenSpaceGuid.PcdOmap35xxConsoleUart|3
  115. # Timers
  116. gOmap35xxTokenSpaceGuid.PcdOmap35xxArchTimer|3
  117. gOmap35xxTokenSpaceGuid.PcdOmap35xxFreeTimer|4
  118. gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
  119. gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77
  120. gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000
  121. # OMAP Interrupt Controller
  122. gEmbeddedTokenSpaceGuid.PcdInterruptBaseAddress|0x48200000
  123. ################################################################################
  124. #
  125. # Components Section - list of all EDK II Modules needed by this Platform
  126. #
  127. ################################################################################
  128. [Components.common]
  129. Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf
  130. Omap35xxPkg/Library/OmapLib/OmapLib.inf
  131. Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf
  132. Omap35xxPkg/Flash/Flash.inf
  133. Omap35xxPkg/MMCHSDxe/MMCHS.inf
  134. Omap35xxPkg/SmbusDxe/Smbus.inf
  135. Omap35xxPkg/Gpio/Gpio.inf
  136. Omap35xxPkg/InterruptDxe/InterruptDxe.inf
  137. Omap35xxPkg/TimerDxe/TimerDxe.inf
  138. Omap35xxPkg/TPS65950Dxe/TPS65950.inf
  139. Omap35xxPkg/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
  140. Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
  141. Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf
  142. Omap35xxPkg/Library/RealTimeClockLib/RealTimeClockLib.inf
  143. Omap35xxPkg/Library/SerialPortLib/SerialPortLib.inf
  144. Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf
  145. Omap35xxPkg/PciEmulation/PciEmulation.inf