Processor features
Endianness selection
Some SuperH machines can be configured for either little or big endian byte order. These modes require different kernels.
CONFIG_CPU_LITTLE_ENDIAN Little Endian
CONFIG_CPU_BIG_ENDIAN Big Endian
CONFIG_SH_FPU FPU support
Selecting this option will enable support for SH processors that have FPU units (ie, SH77xx).
This option must be set in order to enable the FPU.
- Depends on
CONFIG_SH_FPU_EMU FPU emulation support
Selecting this option will enable support for software FPU emulation. Most SH-3 users will want to say Y here, whereas most SH-4 users will want to say N.
- Depends on
!SH_FPU
CONFIG_SH_DSP DSP support
Selecting this option will enable support for SH processors that have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP).
This option must be set in order to enable the DSP.
- Depends on
CPU_HAS_DSP
CONFIG_SH_ADC ADC support
Selecting this option will allow the Linux kernel to use SH3 on-chip ADC module.
If unsure, say N.
- Depends on
CPU_SH3
CONFIG_SH_STORE_QUEUES Support for Store Queues
Selecting this option will enable an in-kernel API for manipulating the store queues integrated in the SH-4 processors.
- Depends on
CPU_SH4
CONFIG_SPECULATIVE_EXECUTION Speculative subroutine return
This enables support for a speculative instruction fetch for subroutine return. There are various pitfalls associated with this, as outlined in the SH7780 hardware manual.
If unsure, say N.
- Depends on
CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || CPU_SUBTYPE_SH7786
CONFIG_CPU_HAS_INTEVT
CONFIG_CPU_HAS_IPR_IRQ
CONFIG_CPU_HAS_SR_RB
This will enable the use of SR.RB register bank usage. Processors that are lacking this bit must have another method in place for accomplishing what is taken care of by the banked registers.
See <file:Documentation/arch/sh/register-banks.rst> for further information on SR.RB and register banking in the kernel in general.