Kconfig 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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 use Instruction Cache"
  92. default n
  93. config SYS_DCACHE_OFF
  94. bool "Do not use Data Cache"
  95. default n
  96. menuconfig ARC_DBG
  97. bool "ARC debugging"
  98. default n
  99. if ARC_DBG
  100. config ARC_DBG_IOC_ENABLE
  101. bool "Enable IO coherency unit"
  102. depends on CPU_ARCHS38
  103. default n
  104. help
  105. Enable IO coherency unit to debug problems with caches and
  106. DMA peripherals.
  107. NOTE: as of today linux will not work properly if this option
  108. is enabled in u-boot!
  109. endif
  110. choice
  111. prompt "Target select"
  112. default TARGET_AXS103
  113. config TARGET_TB100
  114. bool "Support tb100"
  115. config TARGET_NSIM
  116. bool "Support standalone nSIM & Free nSIM"
  117. config TARGET_AXS101
  118. bool "Support Synopsys Designware SDP board AXS101"
  119. select BOUNCE_BUFFER if CMD_NAND
  120. config TARGET_AXS103
  121. bool "Support Synopsys Designware SDP board AXS103"
  122. select BOUNCE_BUFFER if CMD_NAND
  123. config TARGET_EMSDP
  124. bool "Synopsys EM Software Development Platform"
  125. select CPU_ARCEM6
  126. config TARGET_HSDK
  127. bool "Support Synpsys HS DevelopmentKit board"
  128. config TARGET_IOT_DEVKIT
  129. bool "Synopsys Brite IoT Development kit"
  130. select CPU_ARCEM6
  131. endchoice
  132. source "board/abilis/tb100/Kconfig"
  133. source "board/synopsys/Kconfig"
  134. source "board/synopsys/axs10x/Kconfig"
  135. source "board/synopsys/emsdp/Kconfig"
  136. source "board/synopsys/hsdk/Kconfig"
  137. source "board/synopsys/iot_devkit/Kconfig"
  138. endmenu