]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arc/Kconfig
c044ad4de61d67abe7c33a58b98110adcb243009
[people/ms/u-boot.git] / arch / arc / Kconfig
1 menu "ARC architecture"
2 depends on ARC
3
4 config SYS_ARCH
5 default "arc"
6
7 config USE_PRIVATE_LIBGCC
8 default y
9
10 config SYS_CPU
11 default "arcv1" if ISA_ARCOMPACT
12 default "arcv2" if ISA_ARCV2
13
14 choice
15 prompt "ARC Instruction Set"
16 default ISA_ARCOMPACT
17
18 config ISA_ARCOMPACT
19 bool "ARCompact ISA"
20 help
21 The original ARC ISA of ARC600/700 cores
22
23 config ISA_ARCV2
24 bool "ARC ISA v2"
25 help
26 ISA for the Next Generation ARC-HS cores
27
28 endchoice
29
30 choice
31 prompt "CPU selection"
32 default CPU_ARC770D if ISA_ARCOMPACT
33 default CPU_ARCHS38 if ISA_ARCV2
34
35 config CPU_ARC750D
36 bool "ARC 750D"
37 select ARC_MMU_V2
38 depends on ISA_ARCOMPACT
39 help
40 Choose this option to build an U-Boot for ARC750D CPU.
41
42 config CPU_ARC770D
43 bool "ARC 770D"
44 select ARC_MMU_V3
45 depends on ISA_ARCOMPACT
46 help
47 Choose this option to build an U-Boot for ARC770D CPU.
48
49 config CPU_ARCEM6
50 bool "ARC EM6"
51 select ARC_MMU_ABSENT
52 depends on ISA_ARCV2
53 help
54 Next Generation ARC Core based on ISA-v2 ISA without MMU.
55
56 config CPU_ARCHS36
57 bool "ARC HS36"
58 select ARC_MMU_ABSENT
59 depends on ISA_ARCV2
60 help
61 Next Generation ARC Core based on ISA-v2 ISA without MMU.
62
63 config CPU_ARCHS38
64 bool "ARC HS38"
65 select ARC_MMU_V4
66 depends on ISA_ARCV2
67 help
68 Next Generation ARC Core based on ISA-v2 ISA with MMU.
69
70 endchoice
71
72 choice
73 prompt "MMU Version"
74 default ARC_MMU_V3 if CPU_ARC770D
75 default ARC_MMU_V2 if CPU_ARC750D
76 default ARC_MMU_ABSENT if CPU_ARCEM6
77 default ARC_MMU_ABSENT if CPU_ARCHS36
78 default ARC_MMU_V4 if CPU_ARCHS38
79
80 config ARC_MMU_ABSENT
81 bool "No MMU"
82 help
83 No MMU
84
85 config ARC_MMU_V2
86 bool "MMU v2"
87 depends on CPU_ARC750D
88 help
89 Fixed the deficiency of v1 - possible thrashing in memcpy sceanrio
90 when 2 D-TLB and 1 I-TLB entries index into same 2way set.
91
92 config ARC_MMU_V3
93 bool "MMU v3"
94 depends on CPU_ARC770D
95 help
96 Introduced with ARC700 4.10: New Features
97 Variable Page size (1k-16k), var JTLB size 128 x (2 or 4)
98 Shared Address Spaces (SASID)
99
100 config ARC_MMU_V4
101 bool "MMU v4"
102 depends on CPU_ARCHS38
103 help
104 Introduced as a part of ARC HS38 release.
105
106 endchoice
107
108 config CPU_BIG_ENDIAN
109 bool "Enable Big Endian Mode"
110 default n
111 help
112 Build kernel for Big Endian Mode of ARC CPU
113
114 config SYS_ICACHE_OFF
115 bool "Do not use Instruction Cache"
116 default n
117
118 config SYS_DCACHE_OFF
119 bool "Do not use Data Cache"
120 default n
121
122 config ARC_CACHE_LINE_SHIFT
123 int "Cache Line Length (as power of 2)"
124 range 5 7
125 default "6"
126 depends on !SYS_DCACHE_OFF || !SYS_ICACHE_OFF
127 help
128 Starting with ARC700 4.9, Cache line length is configurable,
129 This option specifies "N", with Line-len = 2 power N
130 So line lengths of 32, 64, 128 are specified by 5,6,7, respectively
131 Linux only supports same line lengths for I and D caches.
132
133 choice
134 prompt "Target select"
135
136 config TARGET_DUMMY
137 bool "Dummy target"
138 help
139 Please select one of real target boards below!
140 This target is only meant to force "makedefconfig" to put
141 TARGET_xxx in defconfig even this is the first target from the list
142 below.
143
144 config TARGET_TB100
145 bool "Support tb100"
146
147 config TARGET_ARCANGEL4
148 bool "Support arcangel4"
149
150 config TARGET_AXS101
151 bool "Support axs101"
152
153 endchoice
154
155 source "board/abilis/tb100/Kconfig"
156 source "board/synopsys/Kconfig"
157 source "board/synopsys/axs101/Kconfig"
158
159 endmenu