Kconfig 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. menu "ARC architecture"
  2. depends on ARC
  3. config SYS_ARCH
  4. default "arc"
  5. config SYS_CPU
  6. default "arcv1" if ISA_ARCOMPACT
  7. default "arcv2" if ISA_ARCV2
  8. choice
  9. prompt "ARC Instruction Set"
  10. default ISA_ARCOMPACT
  11. config ISA_ARCOMPACT
  12. bool "ARCompact ISA"
  13. help
  14. The original ARC ISA of ARC600/700 cores
  15. config ISA_ARCV2
  16. bool "ARC ISA v2"
  17. help
  18. ISA for the Next Generation ARC-HS cores
  19. endchoice
  20. choice
  21. prompt "CPU selection"
  22. default CPU_ARC770D if ISA_ARCOMPACT
  23. default CPU_ARCHS38 if ISA_ARCV2
  24. config CPU_ARC750D
  25. bool "ARC 750D"
  26. depends on ISA_ARCOMPACT
  27. select ARC_MMU_V2
  28. help
  29. Choose this option to build an U-Boot for ARC750D CPU.
  30. config CPU_ARC770D
  31. bool "ARC 770D"
  32. depends on ISA_ARCOMPACT
  33. select ARC_MMU_V3
  34. help
  35. Choose this option to build an U-Boot for ARC770D CPU.
  36. config CPU_ARCEM6
  37. bool "ARC EM6"
  38. depends on ISA_ARCV2
  39. select ARC_MMU_ABSENT
  40. help
  41. Next Generation ARC Core based on ISA-v2 ISA without MMU.
  42. config CPU_ARCHS36
  43. bool "ARC HS36"
  44. depends on ISA_ARCV2
  45. select ARC_MMU_ABSENT
  46. help
  47. Next Generation ARC Core based on ISA-v2 ISA without MMU.
  48. config CPU_ARCHS38
  49. bool "ARC HS38"
  50. depends on ISA_ARCV2
  51. select ARC_MMU_V4
  52. help
  53. Next Generation ARC Core based on ISA-v2 ISA with MMU.
  54. endchoice
  55. choice
  56. prompt "MMU Version"
  57. default ARC_MMU_V3 if CPU_ARC770D
  58. default ARC_MMU_V2 if CPU_ARC750D
  59. default ARC_MMU_ABSENT if CPU_ARCEM6
  60. default ARC_MMU_ABSENT if CPU_ARCHS36
  61. default ARC_MMU_V4 if CPU_ARCHS38
  62. config ARC_MMU_ABSENT
  63. bool "No MMU"
  64. help
  65. No MMU
  66. config ARC_MMU_V2
  67. bool "MMU v2"
  68. depends on CPU_ARC750D
  69. help
  70. Fixed the deficiency of v1 - possible thrashing in memcpy sceanrio
  71. when 2 D-TLB and 1 I-TLB entries index into same 2way set.
  72. config ARC_MMU_V3
  73. bool "MMU v3"
  74. depends on CPU_ARC770D
  75. help
  76. Introduced with ARC700 4.10: New Features
  77. Variable Page size (1k-16k), var JTLB size 128 x (2 or 4)
  78. Shared Address Spaces (SASID)
  79. config ARC_MMU_V4
  80. bool "MMU v4"
  81. depends on CPU_ARCHS38
  82. help
  83. Introduced as a part of ARC HS38 release.
  84. endchoice
  85. config CPU_BIG_ENDIAN
  86. bool "Enable Big Endian Mode"
  87. default n
  88. help
  89. Build kernel for Big Endian Mode of ARC CPU
  90. config SYS_ICACHE_OFF
  91. bool "Do not enable icache"
  92. default n
  93. help
  94. Do not enable instruction cache in U-Boot.
  95. config SPL_SYS_ICACHE_OFF
  96. bool "Do not enable icache in SPL"
  97. depends on SPL
  98. default SYS_ICACHE_OFF
  99. help
  100. Do not enable instruction cache in SPL.
  101. config SYS_DCACHE_OFF
  102. bool "Do not enable dcache"
  103. default n
  104. help
  105. Do not enable data cache in U-Boot.
  106. config SPL_SYS_DCACHE_OFF
  107. bool "Do not enable dcache in SPL"
  108. depends on SPL
  109. default SYS_DCACHE_OFF
  110. help
  111. Do not enable data cache in SPL.
  112. menuconfig ARC_DBG
  113. bool "ARC debugging"
  114. default n
  115. if ARC_DBG
  116. config ARC_DBG_IOC_ENABLE
  117. bool "Enable IO coherency unit"
  118. depends on CPU_ARCHS38
  119. default n
  120. help
  121. Enable IO coherency unit to debug problems with caches and
  122. DMA peripherals.
  123. NOTE: as of today linux will not work properly if this option
  124. is enabled in u-boot!
  125. endif
  126. choice
  127. prompt "Target select"
  128. default TARGET_AXS103
  129. config TARGET_TB100
  130. bool "Support tb100"
  131. config TARGET_NSIM
  132. bool "Support standalone nSIM & Free nSIM"
  133. config TARGET_AXS101
  134. bool "Support Synopsys Designware SDP board AXS101"
  135. select BOUNCE_BUFFER if CMD_NAND
  136. config TARGET_AXS103
  137. bool "Support Synopsys Designware SDP board AXS103"
  138. select BOUNCE_BUFFER if CMD_NAND
  139. config TARGET_EMSDP
  140. bool "Synopsys EM Software Development Platform"
  141. select CPU_ARCEM6
  142. config TARGET_HSDK
  143. bool "Support Synpsys HS DevelopmentKit board"
  144. config TARGET_IOT_DEVKIT
  145. bool "Synopsys Brite IoT Development kit"
  146. select CPU_ARCEM6
  147. endchoice
  148. source "board/abilis/tb100/Kconfig"
  149. source "board/synopsys/Kconfig"
  150. source "board/synopsys/axs10x/Kconfig"
  151. source "board/synopsys/emsdp/Kconfig"
  152. source "board/synopsys/hsdk/Kconfig"
  153. source "board/synopsys/iot_devkit/Kconfig"
  154. endmenu