Linux Audio

Check our new training course

Loading...
v5.4
  1# SPDX-License-Identifier: GPL-2.0
  2menu "Processor features"
  3
  4choice
  5	prompt "Endianness selection" 
  6	default CPU_LITTLE_ENDIAN
  7	help
  8	  Some SuperH machines can be configured for either little or big
  9	  endian byte order. These modes require different kernels.
 10
 11config CPU_LITTLE_ENDIAN
 12	bool "Little Endian"
 13
 14config CPU_BIG_ENDIAN
 15	bool "Big Endian"
 16	depends on !CPU_SH5
 17
 18endchoice
 19
 20config SH_FPU
 21	def_bool y
 22	prompt "FPU support"
 23	depends on CPU_HAS_FPU
 24	help
 25	  Selecting this option will enable support for SH processors that
 26	  have FPU units (ie, SH77xx).
 27
 28	  This option must be set in order to enable the FPU.
 29
 30config SH64_FPU_DENORM_FLUSH
 31	bool "Flush floating point denorms to zero"
 32	depends on SH_FPU && SUPERH64
 33
 34config SH_FPU_EMU
 35	def_bool n
 36	prompt "FPU emulation support"
 37	depends on !SH_FPU
 38	help
 39	  Selecting this option will enable support for software FPU emulation.
 40	  Most SH-3 users will want to say Y here, whereas most SH-4 users will
 41	  want to say N.
 42
 43config SH_DSP
 44	def_bool y
 45	prompt "DSP support"
 46	depends on CPU_HAS_DSP
 47	help
 48	  Selecting this option will enable support for SH processors that
 49	  have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP).
 50
 51	  This option must be set in order to enable the DSP.
 52
 53config SH_ADC
 54	def_bool y
 55	prompt "ADC support"
 56	depends on CPU_SH3
 57	help
 58	  Selecting this option will allow the Linux kernel to use SH3 on-chip
 59	  ADC module.
 60
 61	  If unsure, say N.
 62
 63config SH_STORE_QUEUES
 64	bool "Support for Store Queues"
 65	depends on CPU_SH4
 66	help
 67	  Selecting this option will enable an in-kernel API for manipulating
 68	  the store queues integrated in the SH-4 processors.
 69
 70config SPECULATIVE_EXECUTION
 71	bool "Speculative subroutine return"
 
 72	depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || CPU_SUBTYPE_SH7786
 73	help
 74	  This enables support for a speculative instruction fetch for
 75	  subroutine return. There are various pitfalls associated with
 76	  this, as outlined in the SH7780 hardware manual.
 77
 78	  If unsure, say N.
 79
 80config SH64_ID2815_WORKAROUND
 81	bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
 82	depends on CPU_SUBTYPE_SH5_101
 83
 84config CPU_HAS_INTEVT
 85	bool
 86
 87config CPU_HAS_IPR_IRQ
 88	bool
 89
 90config CPU_HAS_SR_RB
 91	bool
 92	help
 93	  This will enable the use of SR.RB register bank usage. Processors
 94	  that are lacking this bit must have another method in place for
 95	  accomplishing what is taken care of by the banked registers.
 96
 97	  See <file:Documentation/sh/register-banks.txt> for further
 98	  information on SR.RB and register banking in the kernel in general.
 99
100config CPU_HAS_PTEAEX
101	bool
102
103config CPU_HAS_DSP
104	bool
105
106config CPU_HAS_FPU
107	bool
108
109endmenu
v3.1
 
  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	depends on !CPU_SH5
 16
 17endchoice
 18
 19config SH_FPU
 20	def_bool y
 21	prompt "FPU support"
 22	depends on CPU_HAS_FPU
 23	help
 24	  Selecting this option will enable support for SH processors that
 25	  have FPU units (ie, SH77xx).
 26
 27	  This option must be set in order to enable the FPU.
 28
 29config SH64_FPU_DENORM_FLUSH
 30	bool "Flush floating point denorms to zero"
 31	depends on SH_FPU && SUPERH64
 32
 33config SH_FPU_EMU
 34	def_bool n
 35	prompt "FPU emulation support"
 36	depends on !SH_FPU && EXPERIMENTAL
 37	help
 38	  Selecting this option will enable support for software FPU emulation.
 39	  Most SH-3 users will want to say Y here, whereas most SH-4 users will
 40	  want to say N.
 41
 42config SH_DSP
 43	def_bool y
 44	prompt "DSP support"
 45	depends on CPU_HAS_DSP
 46	help
 47	  Selecting this option will enable support for SH processors that
 48	  have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP).
 49
 50	  This option must be set in order to enable the DSP.
 51
 52config SH_ADC
 53	def_bool y
 54	prompt "ADC support"
 55	depends on CPU_SH3
 56	help
 57	  Selecting this option will allow the Linux kernel to use SH3 on-chip
 58	  ADC module.
 59
 60	  If unsure, say N.
 61
 62config SH_STORE_QUEUES
 63	bool "Support for Store Queues"
 64	depends on CPU_SH4
 65	help
 66	  Selecting this option will enable an in-kernel API for manipulating
 67	  the store queues integrated in the SH-4 processors.
 68
 69config SPECULATIVE_EXECUTION
 70	bool "Speculative subroutine return"
 71	depends on EXPERIMENTAL
 72	depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || CPU_SUBTYPE_SH7786
 73	help
 74	  This enables support for a speculative instruction fetch for
 75	  subroutine return. There are various pitfalls associated with
 76	  this, as outlined in the SH7780 hardware manual.
 77
 78	  If unsure, say N.
 79
 80config SH64_ID2815_WORKAROUND
 81	bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
 82	depends on CPU_SUBTYPE_SH5_101
 83
 84config CPU_HAS_INTEVT
 85	bool
 86
 87config CPU_HAS_IPR_IRQ
 88	bool
 89
 90config CPU_HAS_SR_RB
 91	bool
 92	help
 93	  This will enable the use of SR.RB register bank usage. Processors
 94	  that are lacking this bit must have another method in place for
 95	  accomplishing what is taken care of by the banked registers.
 96
 97	  See <file:Documentation/sh/register-banks.txt> for further
 98	  information on SR.RB and register banking in the kernel in general.
 99
100config CPU_HAS_PTEAEX
101	bool
102
103config CPU_HAS_DSP
104	bool
105
106config CPU_HAS_FPU
107	bool
108
109endmenu