]> err.no Git - linux-2.6/blob - arch/sh/Kconfig.sh64
sh: Add the SH-5 cpu type symbolic names.
[linux-2.6] / arch / sh / Kconfig.sh64
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 mainmenu "Linux/SH64 Kernel Configuration"
7
8 config SUPERH
9         bool
10         default y
11
12 config SUPERH64
13         bool
14         default y
15
16 config MMU
17         bool
18         default y
19
20 config QUICKLIST
21         def_bool y
22
23 config RWSEM_GENERIC_SPINLOCK
24         bool
25         default y
26
27 config GENERIC_FIND_NEXT_BIT
28         bool
29         default y
30
31 config GENERIC_HWEIGHT
32         bool
33         default y
34
35 config GENERIC_CALIBRATE_DELAY
36         bool
37         default y
38
39 config GENERIC_HARDIRQS
40         bool
41         default y
42
43 config GENERIC_IRQ_PROBE
44         bool
45         default y
46
47 config RWSEM_XCHGADD_ALGORITHM
48         bool
49
50 config ARCH_HAS_ILOG2_U32
51         bool
52         default n
53
54 config ARCH_HAS_ILOG2_U64
55         bool
56         default n
57
58 config ARCH_NO_VIRT_TO_BUS
59         def_bool y
60
61 source init/Kconfig
62
63 menu "System type"
64
65 choice
66         prompt "SuperH system type"
67         default SH_SIMULATOR
68
69 config SH_SIMULATOR
70         bool "Simulator"
71
72 config SH_CAYMAN
73         bool "Cayman"
74
75 config SH_HARP
76         bool "ST50-Harp"
77
78 endchoice
79
80 choice
81         prompt "Processor family"
82         default CPU_SH5
83
84 config CPU_SH5
85         bool "SH-5"
86         select CPU_HAS_FPU
87
88 endchoice
89
90 choice
91         prompt "Processor type"
92
93 config CPU_SUBTYPE_SH5_101
94         bool "SH5-101"
95         depends on CPU_SH5
96
97 config CPU_SUBTYPE_SH5_103
98         bool "SH5-103"
99         depends on CPU_SH5
100
101 endchoice
102
103 source "arch/sh/Kconfig.cpu"
104
105 config SH64_FPU_DENORM_FLUSH
106         depends on SH_FPU
107         bool "Flush floating point denorms to zero"
108
109 choice
110         prompt "Page table levels"
111         default SH64_PGTABLE_2_LEVEL
112
113 config SH64_PGTABLE_2_LEVEL
114         bool "2"
115
116 config SH64_PGTABLE_3_LEVEL
117         bool "3"
118
119 endchoice
120
121 config SH64_USER_MISALIGNED_FIXUP
122         bool "Fixup misaligned loads/stores occurring in user mode"
123
124 comment "Memory options"
125
126 config CACHED_MEMORY_OFFSET
127         hex "Cached Area Offset"
128         default "20000000"
129
130 config MEMORY_START
131         hex "Physical memory start address"
132         default "80000000"
133
134 config MEMORY_SIZE_IN_MB
135         int "Memory size (in MB)"
136         default "8" if SH_SIMULATOR
137         default "64"
138
139 comment "Cache options"
140
141 choice
142         prompt "DCache mode"
143         default DCACHE_DISABLED if SH_SIMULATOR
144         default DCACHE_WRITE_BACK
145
146 config DCACHE_WRITE_BACK
147         bool "Write-back"
148         depends on !SH_SIMULATOR
149
150 config DCACHE_WRITE_THROUGH
151         bool "Write-through"
152         depends on !SH_SIMULATOR
153
154 config DCACHE_DISABLED
155         bool "Disabled"
156
157 endchoice
158
159 config ICACHE_DISABLED
160         bool "ICache Disabling"
161
162 config PCIDEVICE_MEMORY_START
163         hex
164         default "C0000000"
165
166 config DEVICE_MEMORY_START
167         hex
168         default "E0000000"
169
170 config FLASH_MEMORY_START
171         hex "Flash memory/on-chip devices start address"
172         default "00000000"
173
174 config PCI_BLOCK_START
175         hex "PCI block start address"
176         default "40000000"
177
178 comment "CPU Subtype specific options"
179
180 config SH64_ID2815_WORKAROUND
181         bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
182
183 comment "Misc options"
184
185 config HEARTBEAT
186         bool "Heartbeat LED"
187         depends on SH_CAYMAN
188
189 config HDSP253_LED
190         bool "Support for HDSP-253 LED"
191         depends on SH_CAYMAN
192
193 config SH_DMA
194         tristate "DMA controller (DMAC) support"
195
196 config PREEMPT
197         bool "Preemptible Kernel (EXPERIMENTAL)"
198         depends on EXPERIMENTAL
199
200 config SH_PCLK_FREQ
201         int "Peripheral clock frequency (in Hz)"
202         default "50000000"
203
204 source "kernel/Kconfig.hz"
205 source "arch/sh/mm/Kconfig"
206
207 endmenu
208
209 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
210
211 config ISA
212         bool
213
214 config SBUS
215         bool
216
217 config PCI
218         bool "PCI support"
219         depends on SH_CAYMAN
220         help
221           Find out whether you have a PCI motherboard. PCI is the name of a
222           bus system, i.e. the way the CPU talks to the other stuff inside
223           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
224           VESA. If you have PCI, say Y, otherwise N.
225
226           The PCI-HOWTO, available from
227           <http://www.tldp.org/docs.html#howto>, contains valuable
228           information about which PCI hardware does work under Linux and which
229           doesn't.
230
231 config SH_PCIDMA_NONCOHERENT
232         bool "Cache and PCI noncoherent"
233         depends on PCI
234         default y
235         help
236           Enable this option if your platform does not have a CPU cache which
237           remains coherent with PCI DMA. It is safest to say 'Y', although you
238           will see better performance if you can say 'N', because the PCI DMA
239           code will not have to flush the CPU's caches. If you have a PCI host
240           bridge integrated with your SH CPU, refer carefully to the chip specs
241           to see if you can say 'N' here. Otherwise, leave it as 'Y'.
242
243 source "drivers/pci/Kconfig"
244
245 source "drivers/pcmcia/Kconfig"
246
247 source "drivers/pci/hotplug/Kconfig"
248
249 endmenu
250
251 menu "Executable file formats"
252
253 source "fs/Kconfig.binfmt"
254
255 endmenu
256
257 source "net/Kconfig"
258
259 source "drivers/Kconfig"
260
261 source "fs/Kconfig"
262
263 source "kernel/Kconfig.instrumentation"
264
265 source "arch/sh/Kconfig.debug"
266
267 source "security/Kconfig"
268
269 source "crypto/Kconfig"
270
271 source "lib/Kconfig"