aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig.sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-08 23:45:42 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-01-27 23:18:41 -0500
commit4690bdc7c6e4f18fb58350ccde40df5fcd85a6d9 (patch)
treebef3ae2a5e2bae9d50d450fe094da48bf30fcc5e /arch/sh/Kconfig.sh
parent114f132975ae8db3caa0c3420dc1083bae8d3757 (diff)
sh: Consolidate CPU features in Kconfig.cpu.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig.sh')
-rw-r--r--arch/sh/Kconfig.sh104
1 files changed, 1 insertions, 103 deletions
diff --git a/arch/sh/Kconfig.sh b/arch/sh/Kconfig.sh
index e6721b8e9dc1..23eea5cf4ca0 100644
--- a/arch/sh/Kconfig.sh
+++ b/arch/sh/Kconfig.sh
@@ -291,109 +291,7 @@ config CPU_SUBTYPE_SH7722
291endchoice 291endchoice
292 292
293source "arch/sh/mm/Kconfig" 293source "arch/sh/mm/Kconfig"
294 294source "arch/sh/Kconfig.cpu"
295menu "Processor features"
296
297choice
298 prompt "Endianess selection"
299 default CPU_LITTLE_ENDIAN
300 help
301 Some SuperH machines can be configured for either little or big
302 endian byte order. These modes require different kernels.
303
304config CPU_LITTLE_ENDIAN
305 bool "Little Endian"
306
307config CPU_BIG_ENDIAN
308 bool "Big Endian"
309
310endchoice
311
312config SH_FPU
313 bool "FPU support"
314 depends on CPU_HAS_FPU
315 default y
316 help
317 Selecting this option will enable support for SH processors that
318 have FPU units (ie, SH77xx).
319
320 This option must be set in order to enable the FPU.
321
322config SH_FPU_EMU
323 bool "FPU emulation support"
324 depends on !SH_FPU && EXPERIMENTAL
325 default n
326 help
327 Selecting this option will enable support for software FPU emulation.
328 Most SH-3 users will want to say Y here, whereas most SH-4 users will
329 want to say N.
330
331config SH_DSP
332 bool "DSP support"
333 depends on CPU_HAS_DSP
334 default y
335 help
336 Selecting this option will enable support for SH processors that
337 have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP).
338
339 This option must be set in order to enable the DSP.
340
341config SH_ADC
342 bool "ADC support"
343 depends on CPU_SH3
344 default y
345 help
346 Selecting this option will allow the Linux kernel to use SH3 on-chip
347 ADC module.
348
349 If unsure, say N.
350
351config SH_STORE_QUEUES
352 bool "Support for Store Queues"
353 depends on CPU_SH4
354 help
355 Selecting this option will enable an in-kernel API for manipulating
356 the store queues integrated in the SH-4 processors.
357
358config SPECULATIVE_EXECUTION
359 bool "Speculative subroutine return"
360 depends on CPU_SUBTYPE_SH7780 && EXPERIMENTAL
361 help
362 This enables support for a speculative instruction fetch for
363 subroutine return. There are various pitfalls associated with
364 this, as outlined in the SH7780 hardware manual.
365
366 If unsure, say N.
367
368config CPU_HAS_INTEVT
369 bool
370
371config CPU_HAS_MASKREG_IRQ
372 bool
373
374config CPU_HAS_IPR_IRQ
375 bool
376
377config CPU_HAS_SR_RB
378 bool
379 help
380 This will enable the use of SR.RB register bank usage. Processors
381 that are lacking this bit must have another method in place for
382 accomplishing what is taken care of by the banked registers.
383
384 See <file:Documentation/sh/register-banks.txt> for further
385 information on SR.RB and register banking in the kernel in general.
386
387config CPU_HAS_PTEA
388 bool
389
390config CPU_HAS_DSP
391 bool
392
393config CPU_HAS_FPU
394 bool
395
396endmenu
397 295
398menu "Board support" 296menu "Board support"
399 297