blob: d850184d06942077d89875339fff59e3aa40d968 [file] [log] [blame]
Paul Mundt4690bdc2007-11-09 13:45:42 +09001menu "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
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090019 def_bool y
20 prompt "FPU support"
Paul Mundt4690bdc2007-11-09 13:45:42 +090021 depends on CPU_HAS_FPU
Paul Mundt4690bdc2007-11-09 13:45:42 +090022 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
Paul Mundtea0e1a92007-11-21 15:58:01 +090028config SH64_FPU_DENORM_FLUSH
29 bool "Flush floating point denorms to zero"
30 depends on SH_FPU && SUPERH64
31
Paul Mundt4690bdc2007-11-09 13:45:42 +090032config SH_FPU_EMU
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090033 def_bool n
34 prompt "FPU emulation support"
Paul Mundt4690bdc2007-11-09 13:45:42 +090035 depends on !SH_FPU && EXPERIMENTAL
Paul Mundt4690bdc2007-11-09 13:45:42 +090036 help
37 Selecting this option will enable support for software FPU emulation.
38 Most SH-3 users will want to say Y here, whereas most SH-4 users will
39 want to say N.
40
41config SH_DSP
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090042 def_bool y
43 prompt "DSP support"
Paul Mundt4690bdc2007-11-09 13:45:42 +090044 depends on CPU_HAS_DSP
Paul Mundt4690bdc2007-11-09 13:45:42 +090045 help
46 Selecting this option will enable support for SH processors that
47 have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP).
48
49 This option must be set in order to enable the DSP.
50
51config SH_ADC
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090052 def_bool y
53 prompt "ADC support"
Paul Mundt4690bdc2007-11-09 13:45:42 +090054 depends on CPU_SH3
Paul Mundt4690bdc2007-11-09 13:45:42 +090055 help
56 Selecting this option will allow the Linux kernel to use SH3 on-chip
57 ADC module.
58
59 If unsure, say N.
60
61config SH_STORE_QUEUES
62 bool "Support for Store Queues"
63 depends on CPU_SH4
64 help
65 Selecting this option will enable an in-kernel API for manipulating
66 the store queues integrated in the SH-4 processors.
67
68config SPECULATIVE_EXECUTION
69 bool "Speculative subroutine return"
70 depends on CPU_SUBTYPE_SH7780 && EXPERIMENTAL
71 help
72 This enables support for a speculative instruction fetch for
73 subroutine return. There are various pitfalls associated with
74 this, as outlined in the SH7780 hardware manual.
75
76 If unsure, say N.
77
Paul Mundtea0e1a92007-11-21 15:58:01 +090078config SH64_USER_MISALIGNED_FIXUP
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090079 def_bool y
80 prompt "Fixup misaligned loads/stores occurring in user mode"
Paul Mundtea0e1a92007-11-21 15:58:01 +090081 depends on SUPERH64
Paul Mundtea0e1a92007-11-21 15:58:01 +090082
83config SH64_ID2815_WORKAROUND
84 bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
85 depends on CPU_SUBTYPE_SH5_101
86
Paul Mundt4690bdc2007-11-09 13:45:42 +090087config CPU_HAS_INTEVT
88 bool
89
90config CPU_HAS_MASKREG_IRQ
91 bool
92
93config CPU_HAS_IPR_IRQ
94 bool
95
96config CPU_HAS_SR_RB
97 bool
98 help
99 This will enable the use of SR.RB register bank usage. Processors
100 that are lacking this bit must have another method in place for
101 accomplishing what is taken care of by the banked registers.
102
103 See <file:Documentation/sh/register-banks.txt> for further
104 information on SR.RB and register banking in the kernel in general.
105
106config CPU_HAS_PTEA
107 bool
108
109config CPU_HAS_DSP
110 bool
111
112config CPU_HAS_FPU
113 bool
114
115endmenu