aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig.cpu
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.cpu
parent114f132975ae8db3caa0c3420dc1083bae8d3757 (diff)
sh: Consolidate CPU features in Kconfig.cpu.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig.cpu')
-rw-r--r--arch/sh/Kconfig.cpu102
1 files changed, 102 insertions, 0 deletions
diff --git a/arch/sh/Kconfig.cpu b/arch/sh/Kconfig.cpu
new file mode 100644
index 000000000000..9f329dff88b1
--- /dev/null
+++ b/arch/sh/Kconfig.cpu
@@ -0,0 +1,102 @@
1menu "Processor features"
2
3choice
4 prompt "Endianess selection"
5 default CPU_LITTLE_ENDIAN
6 help
7 Some SuperH machines can be configured for either little or big
8 endian byte order. These modes require different kernels.
9
10config CPU_LITTLE_ENDIAN
11 bool "Little Endian"
12
13config CPU_BIG_ENDIAN
14 bool "Big Endian"
15
16endchoice
17
18config SH_FPU
19 bool "FPU support"
20 depends on CPU_HAS_FPU
21 default y
22 help
23 Selecting this option will enable support for SH processors that
24 have FPU units (ie, SH77xx).
25
26 This option must be set in order to enable the FPU.
27
28config SH_FPU_EMU
29 bool "FPU emulation support"
30 depends on !SH_FPU && EXPERIMENTAL
31 default n
32 help
33 Selecting this option will enable support for software FPU emulation.
34 Most SH-3 users will want to say Y here, whereas most SH-4 users will
35 want to say N.
36
37config SH_DSP
38 bool "DSP support"
39 depends on CPU_HAS_DSP
40 default y
41 help
42 Selecting this option will enable support for SH processors that
43 have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP).
44
45 This option must be set in order to enable the DSP.
46
47config SH_ADC
48 bool "ADC support"
49 depends on CPU_SH3
50 default y
51 help
52 Selecting this option will allow the Linux kernel to use SH3 on-chip
53 ADC module.
54
55 If unsure, say N.
56
57config SH_STORE_QUEUES
58 bool "Support for Store Queues"
59 depends on CPU_SH4
60 help
61 Selecting this option will enable an in-kernel API for manipulating
62 the store queues integrated in the SH-4 processors.
63
64config SPECULATIVE_EXECUTION
65 bool "Speculative subroutine return"
66 depends on CPU_SUBTYPE_SH7780 && EXPERIMENTAL
67 help
68 This enables support for a speculative instruction fetch for
69 subroutine return. There are various pitfalls associated with
70 this, as outlined in the SH7780 hardware manual.
71
72 If unsure, say N.
73
74config CPU_HAS_INTEVT
75 bool
76
77config CPU_HAS_MASKREG_IRQ
78 bool
79
80config CPU_HAS_IPR_IRQ
81 bool
82
83config CPU_HAS_SR_RB
84 bool
85 help
86 This will enable the use of SR.RB register bank usage. Processors
87 that are lacking this bit must have another method in place for
88 accomplishing what is taken care of by the banked registers.
89
90 See <file:Documentation/sh/register-banks.txt> for further
91 information on SR.RB and register banking in the kernel in general.
92
93config CPU_HAS_PTEA
94 bool
95
96config CPU_HAS_DSP
97 bool
98
99config CPU_HAS_FPU
100 bool
101
102endmenu