aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig.sh
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 /arch/sh/Kconfig.sh
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>
Diffstat (limited to 'arch/sh/Kconfig.sh')
-rw-r--r--arch/sh/Kconfig.sh190
1 files changed, 190 insertions, 0 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"