aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-08 04:38:14 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-01-27 23:18:38 -0500
commitb5f42db0a782d409e5fe0efb6e1387e45774c70b (patch)
treefdb291a8cf17017c4967d0e8b5114088273f25ae
parentc2254f5a744eda55e73f5592d5bdcf75c0a5302c (diff)
sh: Move CPU subtypes to Kconfig.sh.
We intend to share the mm options, so move the SH-only subtypes up a level. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/Kconfig.sh190
-rw-r--r--arch/sh/mm/Kconfig190
2 files changed, 190 insertions, 190 deletions
diff --git a/arch/sh/Kconfig.sh b/arch/sh/Kconfig.sh
index 496d635f89b2..50d8981b8d11 100644
--- a/arch/sh/Kconfig.sh
+++ b/arch/sh/Kconfig.sh
@@ -97,6 +97,196 @@ source "init/Kconfig"
97 97
98menu "System type" 98menu "System type"
99 99
100#
101# Processor families
102#
103config CPU_SH2
104 bool
105
106config CPU_SH2A
107 bool
108 select CPU_SH2
109
110config CPU_SH3
111 bool
112 select CPU_HAS_INTEVT
113 select CPU_HAS_SR_RB
114
115config CPU_SH4
116 bool
117 select CPU_HAS_INTEVT
118 select CPU_HAS_SR_RB
119 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
120 select CPU_HAS_FPU if !CPU_SH4AL_DSP
121
122config CPU_SH4A
123 bool
124 select CPU_SH4
125
126config CPU_SH4AL_DSP
127 bool
128 select CPU_SH4A
129 select CPU_HAS_DSP
130
131config CPU_SHX2
132 bool
133
134config CPU_SHX3
135 bool
136
137choice
138 prompt "Processor sub-type selection"
139
140#
141# Processor subtypes
142#
143
144# SH-2 Processor Support
145
146config CPU_SUBTYPE_SH7619
147 bool "Support SH7619 processor"
148 select CPU_SH2
149
150# SH-2A Processor Support
151
152config CPU_SUBTYPE_SH7206
153 bool "Support SH7206 processor"
154 select CPU_SH2A
155
156# SH-3 Processor Support
157
158config CPU_SUBTYPE_SH7705
159 bool "Support SH7705 processor"
160 select CPU_SH3
161
162config CPU_SUBTYPE_SH7706
163 bool "Support SH7706 processor"
164 select CPU_SH3
165 help
166 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
167
168config CPU_SUBTYPE_SH7707
169 bool "Support SH7707 processor"
170 select CPU_SH3
171 help
172 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
173
174config CPU_SUBTYPE_SH7708
175 bool "Support SH7708 processor"
176 select CPU_SH3
177 help
178 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
179 if you have a 100 Mhz SH-3 HD6417708R CPU.
180
181config CPU_SUBTYPE_SH7709
182 bool "Support SH7709 processor"
183 select CPU_SH3
184 help
185 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
186
187config CPU_SUBTYPE_SH7710
188 bool "Support SH7710 processor"
189 select CPU_SH3
190 select CPU_HAS_DSP
191 help
192 Select SH7710 if you have a SH3-DSP SH7710 CPU.
193
194config CPU_SUBTYPE_SH7712
195 bool "Support SH7712 processor"
196 select CPU_SH3
197 select CPU_HAS_DSP
198 help
199 Select SH7712 if you have a SH3-DSP SH7712 CPU.
200
201config CPU_SUBTYPE_SH7720
202 bool "Support SH7720 processor"
203 select CPU_SH3
204 select CPU_HAS_DSP
205 help
206 Select SH7720 if you have a SH3-DSP SH7720 CPU.
207
208# SH-4 Processor Support
209
210config CPU_SUBTYPE_SH7750
211 bool "Support SH7750 processor"
212 select CPU_SH4
213 help
214 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
215
216config CPU_SUBTYPE_SH7091
217 bool "Support SH7091 processor"
218 select CPU_SH4
219 help
220 Select SH7091 if you have an SH-4 based Sega device (such as
221 the Dreamcast, Naomi, and Naomi 2).
222
223config CPU_SUBTYPE_SH7750R
224 bool "Support SH7750R processor"
225 select CPU_SH4
226
227config CPU_SUBTYPE_SH7750S
228 bool "Support SH7750S processor"
229 select CPU_SH4
230
231config CPU_SUBTYPE_SH7751
232 bool "Support SH7751 processor"
233 select CPU_SH4
234 help
235 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
236 or if you have a HD6417751R CPU.
237
238config CPU_SUBTYPE_SH7751R
239 bool "Support SH7751R processor"
240 select CPU_SH4
241
242config CPU_SUBTYPE_SH7760
243 bool "Support SH7760 processor"
244 select CPU_SH4
245
246config CPU_SUBTYPE_SH4_202
247 bool "Support SH4-202 processor"
248 select CPU_SH4
249
250# SH-4A Processor Support
251
252config CPU_SUBTYPE_SH7770
253 bool "Support SH7770 processor"
254 select CPU_SH4A
255
256config CPU_SUBTYPE_SH7780
257 bool "Support SH7780 processor"
258 select CPU_SH4A
259
260config CPU_SUBTYPE_SH7785
261 bool "Support SH7785 processor"
262 select CPU_SH4A
263 select CPU_SHX2
264 select ARCH_SPARSEMEM_ENABLE
265 select SYS_SUPPORTS_NUMA
266
267config CPU_SUBTYPE_SHX3
268 bool "Support SH-X3 processor"
269 select CPU_SH4A
270 select CPU_SHX3
271 select ARCH_SPARSEMEM_ENABLE
272 select SYS_SUPPORTS_NUMA
273 select SYS_SUPPORTS_SMP
274
275# SH4AL-DSP Processor Support
276
277config CPU_SUBTYPE_SH7343
278 bool "Support SH7343 processor"
279 select CPU_SH4AL_DSP
280
281config CPU_SUBTYPE_SH7722
282 bool "Support SH7722 processor"
283 select CPU_SH4AL_DSP
284 select CPU_SHX2
285 select ARCH_SPARSEMEM_ENABLE
286 select SYS_SUPPORTS_NUMA
287
288endchoice
289
100source "arch/sh/mm/Kconfig" 290source "arch/sh/mm/Kconfig"
101 291
102menu "Processor features" 292menu "Processor features"
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index 1265f204f7d1..998c5c86346f 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -1,193 +1,3 @@
1#
2# Processor families
3#
4config CPU_SH2
5 bool
6
7config CPU_SH2A
8 bool
9 select CPU_SH2
10
11config CPU_SH3
12 bool
13 select CPU_HAS_INTEVT
14 select CPU_HAS_SR_RB
15
16config CPU_SH4
17 bool
18 select CPU_HAS_INTEVT
19 select CPU_HAS_SR_RB
20 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
21 select CPU_HAS_FPU if !CPU_SH4AL_DSP
22
23config CPU_SH4A
24 bool
25 select CPU_SH4
26
27config CPU_SH4AL_DSP
28 bool
29 select CPU_SH4A
30 select CPU_HAS_DSP
31
32config CPU_SHX2
33 bool
34
35config CPU_SHX3
36 bool
37
38choice
39 prompt "Processor sub-type selection"
40
41#
42# Processor subtypes
43#
44
45# SH-2 Processor Support
46
47config CPU_SUBTYPE_SH7619
48 bool "Support SH7619 processor"
49 select CPU_SH2
50
51# SH-2A Processor Support
52
53config CPU_SUBTYPE_SH7206
54 bool "Support SH7206 processor"
55 select CPU_SH2A
56
57# SH-3 Processor Support
58
59config CPU_SUBTYPE_SH7705
60 bool "Support SH7705 processor"
61 select CPU_SH3
62
63config CPU_SUBTYPE_SH7706
64 bool "Support SH7706 processor"
65 select CPU_SH3
66 help
67 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
68
69config CPU_SUBTYPE_SH7707
70 bool "Support SH7707 processor"
71 select CPU_SH3
72 help
73 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
74
75config CPU_SUBTYPE_SH7708
76 bool "Support SH7708 processor"
77 select CPU_SH3
78 help
79 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
80 if you have a 100 Mhz SH-3 HD6417708R CPU.
81
82config CPU_SUBTYPE_SH7709
83 bool "Support SH7709 processor"
84 select CPU_SH3
85 help
86 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
87
88config CPU_SUBTYPE_SH7710
89 bool "Support SH7710 processor"
90 select CPU_SH3
91 select CPU_HAS_DSP
92 help
93 Select SH7710 if you have a SH3-DSP SH7710 CPU.
94
95config CPU_SUBTYPE_SH7712
96 bool "Support SH7712 processor"
97 select CPU_SH3
98 select CPU_HAS_DSP
99 help
100 Select SH7712 if you have a SH3-DSP SH7712 CPU.
101
102config CPU_SUBTYPE_SH7720
103 bool "Support SH7720 processor"
104 select CPU_SH3
105 select CPU_HAS_DSP
106 help
107 Select SH7720 if you have a SH3-DSP SH7720 CPU.
108
109# SH-4 Processor Support
110
111config CPU_SUBTYPE_SH7750
112 bool "Support SH7750 processor"
113 select CPU_SH4
114 help
115 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
116
117config CPU_SUBTYPE_SH7091
118 bool "Support SH7091 processor"
119 select CPU_SH4
120 help
121 Select SH7091 if you have an SH-4 based Sega device (such as
122 the Dreamcast, Naomi, and Naomi 2).
123
124config CPU_SUBTYPE_SH7750R
125 bool "Support SH7750R processor"
126 select CPU_SH4
127
128config CPU_SUBTYPE_SH7750S
129 bool "Support SH7750S processor"
130 select CPU_SH4
131
132config CPU_SUBTYPE_SH7751
133 bool "Support SH7751 processor"
134 select CPU_SH4
135 help
136 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
137 or if you have a HD6417751R CPU.
138
139config CPU_SUBTYPE_SH7751R
140 bool "Support SH7751R processor"
141 select CPU_SH4
142
143config CPU_SUBTYPE_SH7760
144 bool "Support SH7760 processor"
145 select CPU_SH4
146
147config CPU_SUBTYPE_SH4_202
148 bool "Support SH4-202 processor"
149 select CPU_SH4
150
151# SH-4A Processor Support
152
153config CPU_SUBTYPE_SH7770
154 bool "Support SH7770 processor"
155 select CPU_SH4A
156
157config CPU_SUBTYPE_SH7780
158 bool "Support SH7780 processor"
159 select CPU_SH4A
160
161config CPU_SUBTYPE_SH7785
162 bool "Support SH7785 processor"
163 select CPU_SH4A
164 select CPU_SHX2
165 select ARCH_SPARSEMEM_ENABLE
166 select SYS_SUPPORTS_NUMA
167
168config CPU_SUBTYPE_SHX3
169 bool "Support SH-X3 processor"
170 select CPU_SH4A
171 select CPU_SHX3
172 select ARCH_SPARSEMEM_ENABLE
173 select SYS_SUPPORTS_NUMA
174 select SYS_SUPPORTS_SMP
175
176# SH4AL-DSP Processor Support
177
178config CPU_SUBTYPE_SH7343
179 bool "Support SH7343 processor"
180 select CPU_SH4AL_DSP
181
182config CPU_SUBTYPE_SH7722
183 bool "Support SH7722 processor"
184 select CPU_SH4AL_DSP
185 select CPU_SHX2
186 select ARCH_SPARSEMEM_ENABLE
187 select SYS_SUPPORTS_NUMA
188
189endchoice
190
191menu "Memory management options" 1menu "Memory management options"
192 2
193config QUICKLIST 3config QUICKLIST