]>
Commit | Line | Data |
---|---|---|
dd84058d MY |
1 | menu "ARC architecture" |
2 | depends on ARC | |
3 | ||
4 | config SYS_ARCH | |
dd84058d MY |
5 | default "arc" |
6 | ||
e20bcb04 | 7 | config SYS_CPU |
f13606b7 AB |
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 | |
e20bcb04 | 26 | |
812980bd AB |
27 | choice |
28 | prompt "CPU selection" | |
f13606b7 AB |
29 | default CPU_ARC770D if ISA_ARCOMPACT |
30 | default CPU_ARCHS38 if ISA_ARCV2 | |
812980bd AB |
31 | |
32 | config CPU_ARC750D | |
33 | bool "ARC 750D" | |
f13606b7 | 34 | depends on ISA_ARCOMPACT |
58008cba | 35 | select ARC_MMU_V2 |
812980bd AB |
36 | help |
37 | Choose this option to build an U-Boot for ARC750D CPU. | |
38 | ||
39 | config CPU_ARC770D | |
40 | bool "ARC 770D" | |
f13606b7 | 41 | depends on ISA_ARCOMPACT |
58008cba | 42 | select ARC_MMU_V3 |
812980bd AB |
43 | help |
44 | Choose this option to build an U-Boot for ARC770D CPU. | |
45 | ||
f13606b7 AB |
46 | config CPU_ARCEM6 |
47 | bool "ARC EM6" | |
f13606b7 | 48 | depends on ISA_ARCV2 |
58008cba | 49 | select ARC_MMU_ABSENT |
f13606b7 AB |
50 | help |
51 | Next Generation ARC Core based on ISA-v2 ISA without MMU. | |
52 | ||
53 | config CPU_ARCHS36 | |
54 | bool "ARC HS36" | |
f13606b7 | 55 | depends on ISA_ARCV2 |
58008cba | 56 | select ARC_MMU_ABSENT |
f13606b7 AB |
57 | help |
58 | Next Generation ARC Core based on ISA-v2 ISA without MMU. | |
59 | ||
60 | config CPU_ARCHS38 | |
61 | bool "ARC HS38" | |
f13606b7 | 62 | depends on ISA_ARCV2 |
58008cba | 63 | select ARC_MMU_V4 |
f13606b7 AB |
64 | help |
65 | Next Generation ARC Core based on ISA-v2 ISA with MMU. | |
66 | ||
812980bd AB |
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 | |
f13606b7 AB |
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 | |
812980bd AB |
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 | ||
f13606b7 AB |
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 | ||
812980bd AB |
103 | endchoice |
104 | ||
1f9ad445 AB |
105 | config CPU_BIG_ENDIAN |
106 | bool "Enable Big Endian Mode" | |
107 | default n | |
108 | help | |
109 | Build kernel for Big Endian Mode of ARC CPU | |
110 | ||
205e7a7b | 111 | config SYS_ICACHE_OFF |
a0aba8a2 | 112 | bool "Do not enable icache" |
205e7a7b | 113 | default n |
a0aba8a2 TW |
114 | help |
115 | Do not enable instruction cache in U-Boot. | |
205e7a7b | 116 | |
10015025 TW |
117 | config SPL_SYS_ICACHE_OFF |
118 | bool "Do not enable icache in SPL" | |
119 | depends on SPL | |
120 | default SYS_ICACHE_OFF | |
121 | help | |
122 | Do not enable instruction cache in SPL. | |
123 | ||
205e7a7b | 124 | config SYS_DCACHE_OFF |
a0aba8a2 | 125 | bool "Do not enable dcache" |
205e7a7b | 126 | default n |
a0aba8a2 TW |
127 | help |
128 | Do not enable data cache in U-Boot. | |
205e7a7b | 129 | |
10015025 TW |
130 | config SPL_SYS_DCACHE_OFF |
131 | bool "Do not enable dcache in SPL" | |
132 | depends on SPL | |
133 | default SYS_DCACHE_OFF | |
134 | help | |
135 | Do not enable data cache in SPL. | |
136 | ||
48b04832 EP |
137 | menuconfig ARC_DBG |
138 | bool "ARC debugging" | |
139 | default n | |
140 | ||
141 | if ARC_DBG | |
142 | ||
143 | config ARC_DBG_IOC_ENABLE | |
144 | bool "Enable IO coherency unit" | |
145 | depends on CPU_ARCHS38 | |
146 | default n | |
147 | help | |
148 | Enable IO coherency unit to debug problems with caches and | |
149 | DMA peripherals. | |
150 | NOTE: as of today linux will not work properly if this option | |
151 | is enabled in u-boot! | |
152 | ||
153 | endif | |
154 | ||
dd84058d MY |
155 | choice |
156 | prompt "Target select" | |
0c77092e | 157 | default TARGET_AXS103 |
dd84058d MY |
158 | |
159 | config TARGET_TB100 | |
160 | bool "Support tb100" | |
161 | ||
cc8be222 | 162 | config TARGET_NSIM |
95f7103f | 163 | bool "Support ARC simulation & prototyping platforms" |
dd84058d | 164 | |
0c77092e VZ |
165 | config TARGET_AXS101 |
166 | bool "Support Synopsys Designware SDP board AXS101" | |
167 | ||
168 | config TARGET_AXS103 | |
169 | bool "Support Synopsys Designware SDP board AXS103" | |
dd84058d | 170 | |
adc9b09a AB |
171 | config TARGET_EMSDP |
172 | bool "Synopsys EM Software Development Platform" | |
2c3f9261 AB |
173 | select CPU_ARCEM6 |
174 | ||
67482f57 | 175 | config TARGET_HSDK |
f0f84efe | 176 | bool "Support Synopsys HSDK or HSDK-4xD board" |
67482f57 | 177 | |
5396e8b1 AB |
178 | config TARGET_IOT_DEVKIT |
179 | bool "Synopsys Brite IoT Development kit" | |
180 | select CPU_ARCEM6 | |
181 | ||
dd84058d MY |
182 | endchoice |
183 | ||
184 | source "board/abilis/tb100/Kconfig" | |
65fcba12 | 185 | source "board/synopsys/axs10x/Kconfig" |
adc9b09a | 186 | source "board/synopsys/emsdp/Kconfig" |
67482f57 | 187 | source "board/synopsys/hsdk/Kconfig" |
5396e8b1 | 188 | source "board/synopsys/iot_devkit/Kconfig" |
95f7103f | 189 | source "board/synopsys/nsim/Kconfig" |
dd84058d MY |
190 | |
191 | endmenu |