Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 1 | menu "ARC architecture" |
| 2 | depends on ARC |
| 3 | |
| 4 | config SYS_ARCH |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 5 | default "arc" |
| 6 | |
Alexey Brodkin | e20bcb0 | 2014-12-25 18:47:45 +0300 | [diff] [blame] | 7 | config SYS_CPU |
Alexey Brodkin | f13606b | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 8 | default "arcv1" if ISA_ARCOMPACT |
| 9 | default "arcv2" if ISA_ARCV2 |
| 10 | |
| 11 | choice |
| 12 | prompt "ARC Instruction Set" |
| 13 | default ISA_ARCOMPACT |
| 14 | |
| 15 | config ISA_ARCOMPACT |
| 16 | bool "ARCompact ISA" |
| 17 | help |
| 18 | The original ARC ISA of ARC600/700 cores |
| 19 | |
| 20 | config ISA_ARCV2 |
| 21 | bool "ARC ISA v2" |
| 22 | help |
| 23 | ISA for the Next Generation ARC-HS cores |
| 24 | |
| 25 | endchoice |
Alexey Brodkin | e20bcb0 | 2014-12-25 18:47:45 +0300 | [diff] [blame] | 26 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 27 | choice |
Alexey Brodkin | 812980b | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 28 | prompt "CPU selection" |
Alexey Brodkin | f13606b | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 29 | default CPU_ARC770D if ISA_ARCOMPACT |
| 30 | default CPU_ARCHS38 if ISA_ARCV2 |
Alexey Brodkin | 812980b | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 31 | |
| 32 | config CPU_ARC750D |
| 33 | bool "ARC 750D" |
Alexey Brodkin | f13606b | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 34 | depends on ISA_ARCOMPACT |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 35 | select ARC_MMU_V2 |
Alexey Brodkin | 812980b | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 36 | help |
| 37 | Choose this option to build an U-Boot for ARC750D CPU. |
| 38 | |
| 39 | config CPU_ARC770D |
| 40 | bool "ARC 770D" |
Alexey Brodkin | f13606b | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 41 | depends on ISA_ARCOMPACT |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 42 | select ARC_MMU_V3 |
Alexey Brodkin | 812980b | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 43 | help |
| 44 | Choose this option to build an U-Boot for ARC770D CPU. |
| 45 | |
Alexey Brodkin | f13606b | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 46 | config CPU_ARCEM6 |
| 47 | bool "ARC EM6" |
Alexey Brodkin | f13606b | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 48 | depends on ISA_ARCV2 |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 49 | select ARC_MMU_ABSENT |
Alexey Brodkin | f13606b | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 50 | help |
| 51 | Next Generation ARC Core based on ISA-v2 ISA without MMU. |
| 52 | |
| 53 | config CPU_ARCHS36 |
| 54 | bool "ARC HS36" |
Alexey Brodkin | f13606b | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 55 | depends on ISA_ARCV2 |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 56 | select ARC_MMU_ABSENT |
Alexey Brodkin | f13606b | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 57 | help |
| 58 | Next Generation ARC Core based on ISA-v2 ISA without MMU. |
| 59 | |
| 60 | config CPU_ARCHS38 |
| 61 | bool "ARC HS38" |
Alexey Brodkin | f13606b | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 62 | depends on ISA_ARCV2 |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 63 | select ARC_MMU_V4 |
Alexey Brodkin | f13606b | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 64 | help |
| 65 | Next Generation ARC Core based on ISA-v2 ISA with MMU. |
| 66 | |
Alexey Brodkin | 812980b | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 67 | endchoice |
| 68 | |
| 69 | choice |
| 70 | prompt "MMU Version" |
| 71 | default ARC_MMU_V3 if CPU_ARC770D |
| 72 | default ARC_MMU_V2 if CPU_ARC750D |
Alexey Brodkin | f13606b | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 73 | default ARC_MMU_ABSENT if CPU_ARCEM6 |
| 74 | default ARC_MMU_ABSENT if CPU_ARCHS36 |
| 75 | default ARC_MMU_V4 if CPU_ARCHS38 |
| 76 | |
| 77 | config ARC_MMU_ABSENT |
| 78 | bool "No MMU" |
| 79 | help |
| 80 | No MMU |
Alexey Brodkin | 812980b | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 81 | |
| 82 | config ARC_MMU_V2 |
| 83 | bool "MMU v2" |
| 84 | depends on CPU_ARC750D |
| 85 | help |
| 86 | Fixed the deficiency of v1 - possible thrashing in memcpy sceanrio |
| 87 | when 2 D-TLB and 1 I-TLB entries index into same 2way set. |
| 88 | |
| 89 | config ARC_MMU_V3 |
| 90 | bool "MMU v3" |
| 91 | depends on CPU_ARC770D |
| 92 | help |
| 93 | Introduced with ARC700 4.10: New Features |
| 94 | Variable Page size (1k-16k), var JTLB size 128 x (2 or 4) |
| 95 | Shared Address Spaces (SASID) |
| 96 | |
Alexey Brodkin | f13606b | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 97 | config ARC_MMU_V4 |
| 98 | bool "MMU v4" |
| 99 | depends on CPU_ARCHS38 |
| 100 | help |
| 101 | Introduced as a part of ARC HS38 release. |
| 102 | |
Alexey Brodkin | 812980b | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 103 | endchoice |
| 104 | |
Alexey Brodkin | 1f9ad44 | 2015-02-03 13:58:14 +0300 | [diff] [blame] | 105 | config CPU_BIG_ENDIAN |
| 106 | bool "Enable Big Endian Mode" |
Alexey Brodkin | 1f9ad44 | 2015-02-03 13:58:14 +0300 | [diff] [blame] | 107 | help |
| 108 | Build kernel for Big Endian Mode of ARC CPU |
| 109 | |
Alexey Brodkin | 205e7a7 | 2015-02-03 13:58:13 +0300 | [diff] [blame] | 110 | config SYS_ICACHE_OFF |
Trevor Woerner | a0aba8a | 2019-05-03 09:40:59 -0400 | [diff] [blame] | 111 | bool "Do not enable icache" |
Trevor Woerner | a0aba8a | 2019-05-03 09:40:59 -0400 | [diff] [blame] | 112 | help |
| 113 | Do not enable instruction cache in U-Boot. |
Alexey Brodkin | 205e7a7 | 2015-02-03 13:58:13 +0300 | [diff] [blame] | 114 | |
Trevor Woerner | 1001502 | 2019-05-03 09:41:00 -0400 | [diff] [blame] | 115 | config SPL_SYS_ICACHE_OFF |
| 116 | bool "Do not enable icache in SPL" |
| 117 | depends on SPL |
| 118 | default SYS_ICACHE_OFF |
| 119 | help |
| 120 | Do not enable instruction cache in SPL. |
| 121 | |
Alexey Brodkin | 205e7a7 | 2015-02-03 13:58:13 +0300 | [diff] [blame] | 122 | config SYS_DCACHE_OFF |
Trevor Woerner | a0aba8a | 2019-05-03 09:40:59 -0400 | [diff] [blame] | 123 | bool "Do not enable dcache" |
Trevor Woerner | a0aba8a | 2019-05-03 09:40:59 -0400 | [diff] [blame] | 124 | help |
| 125 | Do not enable data cache in U-Boot. |
Alexey Brodkin | 205e7a7 | 2015-02-03 13:58:13 +0300 | [diff] [blame] | 126 | |
Trevor Woerner | 1001502 | 2019-05-03 09:41:00 -0400 | [diff] [blame] | 127 | config SPL_SYS_DCACHE_OFF |
| 128 | bool "Do not enable dcache in SPL" |
| 129 | depends on SPL |
| 130 | default SYS_DCACHE_OFF |
| 131 | help |
| 132 | Do not enable data cache in SPL. |
| 133 | |
Eugeniy Paltsev | 48b0483 | 2018-03-21 15:58:59 +0300 | [diff] [blame] | 134 | menuconfig ARC_DBG |
| 135 | bool "ARC debugging" |
Eugeniy Paltsev | 48b0483 | 2018-03-21 15:58:59 +0300 | [diff] [blame] | 136 | |
| 137 | if ARC_DBG |
| 138 | |
| 139 | config ARC_DBG_IOC_ENABLE |
| 140 | bool "Enable IO coherency unit" |
| 141 | depends on CPU_ARCHS38 |
Eugeniy Paltsev | 48b0483 | 2018-03-21 15:58:59 +0300 | [diff] [blame] | 142 | help |
| 143 | Enable IO coherency unit to debug problems with caches and |
| 144 | DMA peripherals. |
| 145 | NOTE: as of today linux will not work properly if this option |
| 146 | is enabled in u-boot! |
| 147 | |
| 148 | endif |
| 149 | |
Alexey Brodkin | 812980b | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 150 | choice |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 151 | prompt "Target select" |
Vlad Zakharov | 0c77092 | 2017-03-21 14:49:48 +0300 | [diff] [blame] | 152 | default TARGET_AXS103 |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 153 | |
| 154 | config TARGET_TB100 |
| 155 | bool "Support tb100" |
| 156 | |
Alexey Brodkin | cc8be22 | 2016-08-04 14:35:01 +0300 | [diff] [blame] | 157 | config TARGET_NSIM |
Alexey Brodkin | 95f7103 | 2019-12-26 14:47:42 +0300 | [diff] [blame] | 158 | bool "Support ARC simulation & prototyping platforms" |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 159 | |
Vlad Zakharov | 0c77092 | 2017-03-21 14:49:48 +0300 | [diff] [blame] | 160 | config TARGET_AXS101 |
| 161 | bool "Support Synopsys Designware SDP board AXS101" |
| 162 | |
| 163 | config TARGET_AXS103 |
| 164 | bool "Support Synopsys Designware SDP board AXS103" |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 165 | |
Alexey Brodkin | adc9b09 | 2018-10-18 09:54:58 +0300 | [diff] [blame] | 166 | config TARGET_EMSDP |
| 167 | bool "Synopsys EM Software Development Platform" |
Alexey Brodkin | 2c3f926 | 2018-05-28 15:27:43 +0300 | [diff] [blame] | 168 | select CPU_ARCEM6 |
| 169 | |
Alexey Brodkin | 67482f5 | 2016-11-25 16:23:43 +0300 | [diff] [blame] | 170 | config TARGET_HSDK |
Eugeniy Paltsev | f0f84ef | 2020-04-22 00:33:40 +0300 | [diff] [blame] | 171 | bool "Support Synopsys HSDK or HSDK-4xD board" |
Alexey Brodkin | 67482f5 | 2016-11-25 16:23:43 +0300 | [diff] [blame] | 172 | |
Alexey Brodkin | 5396e8b | 2018-01-24 21:37:14 +0300 | [diff] [blame] | 173 | config TARGET_IOT_DEVKIT |
| 174 | bool "Synopsys Brite IoT Development kit" |
| 175 | select CPU_ARCEM6 |
| 176 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 177 | endchoice |
| 178 | |
| 179 | source "board/abilis/tb100/Kconfig" |
Alexey Brodkin | 65fcba1 | 2016-08-04 15:00:35 +0300 | [diff] [blame] | 180 | source "board/synopsys/axs10x/Kconfig" |
Alexey Brodkin | adc9b09 | 2018-10-18 09:54:58 +0300 | [diff] [blame] | 181 | source "board/synopsys/emsdp/Kconfig" |
Alexey Brodkin | 67482f5 | 2016-11-25 16:23:43 +0300 | [diff] [blame] | 182 | source "board/synopsys/hsdk/Kconfig" |
Alexey Brodkin | 5396e8b | 2018-01-24 21:37:14 +0300 | [diff] [blame] | 183 | source "board/synopsys/iot_devkit/Kconfig" |
Alexey Brodkin | 95f7103 | 2019-12-26 14:47:42 +0300 | [diff] [blame] | 184 | source "board/synopsys/nsim/Kconfig" |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 185 | |
| 186 | endmenu |