Kconfig 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. if ARCH_EXYNOS
  2. choice
  3. prompt "EXYNOS architecture type select"
  4. optional
  5. config ARCH_EXYNOS4
  6. bool "Exynos4 SoC family"
  7. select CPU_V7A
  8. select BOARD_EARLY_INIT_F
  9. help
  10. Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There
  11. are multiple SoCs in this family including Exynos4210, Exynos4412,
  12. and Exynos4212.
  13. config ARCH_EXYNOS5
  14. bool "Exynos5 SoC family"
  15. select CPU_V7A
  16. select BOARD_EARLY_INIT_F
  17. select SHA_HW_ACCEL
  18. imply CRC32_VERIFY
  19. imply CMD_HASH
  20. imply HASH_VERIFY
  21. imply USB_ETHER_RTL8152
  22. imply USB_ETHER_ASIX
  23. imply USB_ETHER_SMSC95XX
  24. help
  25. Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
  26. Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
  27. in this family including Exynos5250, Exynos5420 and Exynos5800.
  28. config ARCH_EXYNOS7
  29. bool "Exynos7 SoC family"
  30. select ARM64
  31. select BOARD_EARLY_INIT_F
  32. help
  33. Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
  34. Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
  35. multiple SoCs in this family including Exynos7420.
  36. endchoice
  37. if ARCH_EXYNOS4
  38. choice
  39. prompt "EXYNOS4 board select"
  40. config TARGET_SMDKV310
  41. select SUPPORT_SPL
  42. bool "Exynos4210 SMDKV310 board"
  43. select OF_CONTROL
  44. config TARGET_TRATS
  45. bool "Exynos4210 Trats board"
  46. config TARGET_S5PC210_UNIVERSAL
  47. bool "EXYNOS4210 Universal C210 board"
  48. config TARGET_ORIGEN
  49. bool "Exynos4412 Origen board"
  50. select SUPPORT_SPL
  51. config TARGET_TRATS2
  52. bool "Exynos4412 Trat2 board"
  53. config TARGET_ODROID
  54. bool "Exynos4412 Odroid board"
  55. endchoice
  56. endif
  57. if ARCH_EXYNOS5
  58. config SPL_GPIO_SUPPORT
  59. default y
  60. config SPL_LIBCOMMON_SUPPORT
  61. default y
  62. config SPL_LIBGENERIC_SUPPORT
  63. default y
  64. choice
  65. prompt "EXYNOS5 board select"
  66. config TARGET_ODROID_XU3
  67. bool "Exynos5422 Odroid board"
  68. select OF_CONTROL
  69. config TARGET_ARNDALE
  70. bool "Exynos5250 Arndale board"
  71. select ARM_ERRATA_773022
  72. select ARM_ERRATA_774769
  73. select CPU_V7_HAS_NONSEC
  74. select CPU_V7_HAS_VIRT
  75. select SUPPORT_SPL
  76. select OF_CONTROL
  77. config TARGET_SMDK5250
  78. bool "SMDK5250 board"
  79. select SUPPORT_SPL
  80. select OF_CONTROL
  81. config TARGET_SNOW
  82. bool "Snow board"
  83. select SUPPORT_SPL
  84. select OF_CONTROL
  85. config TARGET_SPRING
  86. bool "Spring board"
  87. select SUPPORT_SPL
  88. select OF_CONTROL
  89. select SPL_DISABLE_OF_CONTROL
  90. config TARGET_SMDK5420
  91. bool "SMDK5420 board"
  92. select SUPPORT_SPL
  93. select OF_CONTROL
  94. config TARGET_PEACH_PI
  95. bool "Peach Pi board"
  96. select SUPPORT_SPL
  97. select OF_CONTROL
  98. config TARGET_PEACH_PIT
  99. bool "Peach Pit board"
  100. select SUPPORT_SPL
  101. select OF_CONTROL
  102. endchoice
  103. endif
  104. if ARCH_EXYNOS7
  105. choice
  106. prompt "EXYNOS7 board select"
  107. config TARGET_ESPRESSO7420
  108. bool "ESPRESSO7420 board"
  109. select ARM64
  110. select ARMV8_MULTIENTRY
  111. select SUPPORT_SPL
  112. select OF_CONTROL
  113. select SPL_DISABLE_OF_CONTROL
  114. select PINCTRL
  115. select PINCTRL_EXYNOS7420
  116. select CLK_EXYNOS
  117. endchoice
  118. endif
  119. config SYS_SOC
  120. default "exynos"
  121. source "board/samsung/smdkv310/Kconfig"
  122. source "board/samsung/trats/Kconfig"
  123. source "board/samsung/universal_c210/Kconfig"
  124. source "board/samsung/origen/Kconfig"
  125. source "board/samsung/trats2/Kconfig"
  126. source "board/samsung/odroid/Kconfig"
  127. source "board/samsung/arndale/Kconfig"
  128. source "board/samsung/smdk5250/Kconfig"
  129. source "board/samsung/smdk5420/Kconfig"
  130. source "board/samsung/espresso7420/Kconfig"
  131. config SPL_LDSCRIPT
  132. default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4
  133. endif