Kconfig 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. if ARCH_MVEBU
  2. config HAVE_MVEBU_EFUSE
  3. bool
  4. default n
  5. config ARMADA_32BIT
  6. bool
  7. select CPU_V7
  8. select SUPPORT_SPL
  9. select SPL_DM
  10. select SPL_DM_SEQ_ALIAS
  11. select SPL_OF_CONTROL
  12. select SPL_SIMPLE_BUS
  13. select BOARD_EARLY_INIT_F
  14. select ARCH_MISC_INIT
  15. config ARMADA_64BIT
  16. bool
  17. select ARM64
  18. # ARMv7 SoCs...
  19. config ARMADA_375
  20. bool
  21. select ARMADA_32BIT
  22. config ARMADA_38X
  23. bool
  24. select ARMADA_32BIT
  25. select HAVE_MVEBU_EFUSE
  26. config ARMADA_XP
  27. bool
  28. select ARMADA_32BIT
  29. # ARMv8 SoCs...
  30. config ARMADA_3700
  31. bool
  32. select ARM64
  33. # Armada 7K and 8K are very similar - use only one Kconfig symbol for both
  34. config ARMADA_8K
  35. bool
  36. select ARM64
  37. # Armada PLL frequency (used for NAND clock generation)
  38. config SYS_MVEBU_PLL_CLOCK
  39. int
  40. default "2000000000" if ARMADA_XP || ARMADA_3700 || ARMADA_8K
  41. default "1000000000" if ARMADA_38X || ARMADA_375
  42. # Armada XP/38x SoC types...
  43. config MV78230
  44. bool
  45. select ARMADA_XP
  46. config MV78260
  47. bool
  48. select ARMADA_XP
  49. config MV78460
  50. bool
  51. select ARMADA_XP
  52. config 88F6820
  53. bool
  54. select ARMADA_38X
  55. choice
  56. prompt "Armada XP/375/38x/3700/7K/8K board select"
  57. optional
  58. config TARGET_CLEARFOG
  59. bool "Support ClearFog"
  60. select 88F6820
  61. config TARGET_MVEBU_DB_88F3720
  62. bool "Support DB-88F3720 Armada 3720"
  63. select ARMADA_3700
  64. config TARGET_DB_88F6720
  65. bool "Support DB-88F6720 Armada 375"
  66. select ARMADA_375
  67. config TARGET_DB_88F6820_GP
  68. bool "Support DB-88F6820-GP"
  69. select 88F6820
  70. config TARGET_DB_88F6820_AMC
  71. bool "Support DB-88F6820-AMC"
  72. select 88F6820
  73. config TARGET_MVEBU_ARMADA_8K
  74. bool "Support Armada 7k/8k platforms"
  75. select ARMADA_8K
  76. select BOARD_LATE_INIT
  77. config TARGET_DB_MV784MP_GP
  78. bool "Support db-mv784mp-gp"
  79. select MV78460
  80. config TARGET_DS414
  81. bool "Support Synology DS414"
  82. select MV78230
  83. config TARGET_MAXBCM
  84. bool "Support maxbcm"
  85. select MV78460
  86. config TARGET_THEADORABLE
  87. bool "Support theadorable Armada XP"
  88. select BOARD_LATE_INIT if USB
  89. select MV78260
  90. endchoice
  91. config SYS_BOARD
  92. default "clearfog" if TARGET_CLEARFOG
  93. default "mvebu_db-88f3720" if TARGET_MVEBU_DB_88F3720
  94. default "db-88f6720" if TARGET_DB_88F6720
  95. default "db-88f6820-gp" if TARGET_DB_88F6820_GP
  96. default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
  97. default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K
  98. default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
  99. default "ds414" if TARGET_DS414
  100. default "maxbcm" if TARGET_MAXBCM
  101. default "theadorable" if TARGET_THEADORABLE
  102. config SYS_CONFIG_NAME
  103. default "clearfog" if TARGET_CLEARFOG
  104. default "mvebu_db-88f3720" if TARGET_MVEBU_DB_88F3720
  105. default "db-88f6720" if TARGET_DB_88F6720
  106. default "db-88f6820-gp" if TARGET_DB_88F6820_GP
  107. default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
  108. default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K
  109. default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
  110. default "ds414" if TARGET_DS414
  111. default "maxbcm" if TARGET_MAXBCM
  112. default "theadorable" if TARGET_THEADORABLE
  113. config SYS_VENDOR
  114. default "Marvell" if TARGET_DB_MV784MP_GP
  115. default "Marvell" if TARGET_MVEBU_DB_88F3720
  116. default "Marvell" if TARGET_DB_88F6720
  117. default "Marvell" if TARGET_DB_88F6820_GP
  118. default "Marvell" if TARGET_DB_88F6820_AMC
  119. default "Marvell" if TARGET_MVEBU_ARMADA_8K
  120. default "solidrun" if TARGET_CLEARFOG
  121. default "Synology" if TARGET_DS414
  122. config SYS_SOC
  123. default "mvebu"
  124. config MVEBU_EFUSE
  125. bool "Enable eFuse support"
  126. default n
  127. depends on HAVE_MVEBU_EFUSE
  128. help
  129. Enable support for reading and writing eFuses on mvebu SoCs.
  130. config MVEBU_EFUSE_FAKE
  131. bool "Fake eFuse access (dry run)"
  132. default n
  133. depends on MVEBU_EFUSE
  134. help
  135. This enables a "dry run" mode where eFuses are not really programmed.
  136. Instead the eFuse accesses are emulated by writing to and reading
  137. from a memory block.
  138. This is can be used for testing prog scripts.
  139. config SECURED_MODE_IMAGE
  140. bool "Build image for trusted boot"
  141. default false
  142. depends on 88F6820
  143. help
  144. Build an image that employs the ARMADA SoC's trusted boot framework
  145. for securely booting images.
  146. config SECURED_MODE_CSK_INDEX
  147. int "Index of active CSK"
  148. default 0
  149. depends on SECURED_MODE_IMAGE
  150. endif