Blame view

arch/sh/Kconfig.cpu 2.57 KB
4690bdc7c   Paul Mundt   sh: Consolidate C...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  menu "Processor features"
  
  choice
  	prompt "Endianess selection" 
  	default CPU_LITTLE_ENDIAN
  	help
  	  Some SuperH machines can be configured for either little or big
  	  endian byte order. These modes require different kernels.
  
  config CPU_LITTLE_ENDIAN
  	bool "Little Endian"
  
  config CPU_BIG_ENDIAN
  	bool "Big Endian"
64e34ca99   Paul Mundt   sh: Disable big e...
15
  	depends on !CPU_SH5
4690bdc7c   Paul Mundt   sh: Consolidate C...
16
17
18
19
  
  endchoice
  
  config SH_FPU
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
20
21
  	def_bool y
  	prompt "FPU support"
4690bdc7c   Paul Mundt   sh: Consolidate C...
22
  	depends on CPU_HAS_FPU
4690bdc7c   Paul Mundt   sh: Consolidate C...
23
24
25
26
27
  	help
  	  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.
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
28
29
30
  config SH64_FPU_DENORM_FLUSH
  	bool "Flush floating point denorms to zero"
  	depends on SH_FPU && SUPERH64
4690bdc7c   Paul Mundt   sh: Consolidate C...
31
  config SH_FPU_EMU
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
32
33
  	def_bool n
  	prompt "FPU emulation support"
4690bdc7c   Paul Mundt   sh: Consolidate C...
34
  	depends on !SH_FPU && EXPERIMENTAL
4690bdc7c   Paul Mundt   sh: Consolidate C...
35
36
37
38
39
40
  	help
  	  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.
  
  config SH_DSP
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
41
42
  	def_bool y
  	prompt "DSP support"
4690bdc7c   Paul Mundt   sh: Consolidate C...
43
  	depends on CPU_HAS_DSP
4690bdc7c   Paul Mundt   sh: Consolidate C...
44
45
46
47
48
49
50
  	help
  	  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.
  
  config SH_ADC
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
51
52
  	def_bool y
  	prompt "ADC support"
4690bdc7c   Paul Mundt   sh: Consolidate C...
53
  	depends on CPU_SH3
4690bdc7c   Paul Mundt   sh: Consolidate C...
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
  	help
  	  Selecting this option will allow the Linux kernel to use SH3 on-chip
  	  ADC module.
  
  	  If unsure, say N.
  
  config SH_STORE_QUEUES
  	bool "Support for Store Queues"
  	depends on CPU_SH4
  	help
  	  Selecting this option will enable an in-kernel API for manipulating
  	  the store queues integrated in the SH-4 processors.
  
  config SPECULATIVE_EXECUTION
  	bool "Speculative subroutine return"
8c563a30c   Matt Fleming   sh: Turn on specu...
69
70
  	depends on EXPERIMENTAL
  	depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || CPU_SUBTYPE_SH7786
4690bdc7c   Paul Mundt   sh: Consolidate C...
71
72
73
74
75
76
  	help
  	  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.
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
77
78
79
  config SH64_ID2815_WORKAROUND
  	bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
  	depends on CPU_SUBTYPE_SH5_101
4690bdc7c   Paul Mundt   sh: Consolidate C...
80
81
  config CPU_HAS_INTEVT
  	bool
4690bdc7c   Paul Mundt   sh: Consolidate C...
82
83
84
85
86
87
88
89
90
91
92
93
  config CPU_HAS_IPR_IRQ
  	bool
  
  config CPU_HAS_SR_RB
  	bool
  	help
  	  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/sh/register-banks.txt> for further
  	  information on SR.RB and register banking in the kernel in general.
8263a67e1   Paul Mundt   sh: Support for e...
94
95
  config CPU_HAS_PTEAEX
  	bool
4690bdc7c   Paul Mundt   sh: Consolidate C...
96
97
98
99
100
101
102
  config CPU_HAS_DSP
  	bool
  
  config CPU_HAS_FPU
  	bool
  
  endmenu