sh: Switch Kconfig.sh64 to use arch/sh/mm/Kconfig.
[powerpc.git] / 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
87 endchoice
88
89 choice
90         prompt "Processor type"
91
92 config CPU_SUBTYPE_SH5_101
93         bool "SH5-101"
94         depends on CPU_SH5
95
96 config CPU_SUBTYPE_SH5_103
97         bool "SH5-103"
98         depends on CPU_SH5
99
100 endchoice
101
102 choice
103         prompt "Endianness"
104         default LITTLE_ENDIAN
105
106 config LITTLE_ENDIAN
107         bool "Little-Endian"
108
109 config BIG_ENDIAN
110         bool "Big-Endian"
111
112 endchoice
113
114 config SH_FPU
115         bool "FPU support"
116         default y
117
118 config SH64_FPU_DENORM_FLUSH
119         depends on SH_FPU
120         bool "Flush floating point denorms to zero"
121
122 choice
123         prompt "Page table levels"
124         default SH64_PGTABLE_2_LEVEL
125
126 config SH64_PGTABLE_2_LEVEL
127         bool "2"
128
129 config SH64_PGTABLE_3_LEVEL
130         bool "3"
131
132 endchoice
133
134 config SH64_USER_MISALIGNED_FIXUP
135         bool "Fixup misaligned loads/stores occurring in user mode"
136
137 comment "Memory options"
138
139 config CACHED_MEMORY_OFFSET
140         hex "Cached Area Offset"
141         default "20000000"
142
143 config MEMORY_START
144         hex "Physical memory start address"
145         default "80000000"
146
147 config MEMORY_SIZE_IN_MB
148         int "Memory size (in MB)"
149         default "8" if SH_SIMULATOR
150         default "64"
151
152 comment "Cache options"
153
154 choice
155         prompt "DCache mode"
156         default DCACHE_DISABLED if SH_SIMULATOR
157         default DCACHE_WRITE_BACK
158
159 config DCACHE_WRITE_BACK
160         bool "Write-back"
161         depends on !SH_SIMULATOR
162
163 config DCACHE_WRITE_THROUGH
164         bool "Write-through"
165         depends on !SH_SIMULATOR
166
167 config DCACHE_DISABLED
168         bool "Disabled"
169
170 endchoice
171
172 config ICACHE_DISABLED
173         bool "ICache Disabling"
174
175 config PCIDEVICE_MEMORY_START
176         hex
177         default "C0000000"
178
179 config DEVICE_MEMORY_START
180         hex
181         default "E0000000"
182
183 config FLASH_MEMORY_START
184         hex "Flash memory/on-chip devices start address"
185         default "00000000"
186
187 config PCI_BLOCK_START
188         hex "PCI block start address"
189         default "40000000"
190
191 comment "CPU Subtype specific options"
192
193 config SH64_ID2815_WORKAROUND
194         bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
195
196 comment "Misc options"
197
198 config HEARTBEAT
199         bool "Heartbeat LED"
200         depends on SH_CAYMAN
201
202 config HDSP253_LED
203         bool "Support for HDSP-253 LED"
204         depends on SH_CAYMAN
205
206 config SH_DMA
207         tristate "DMA controller (DMAC) support"
208
209 config PREEMPT
210         bool "Preemptible Kernel (EXPERIMENTAL)"
211         depends on EXPERIMENTAL
212
213 config SH_PCLK_FREQ
214         int "Peripheral clock frequency (in Hz)"
215         default "50000000"
216
217 source "kernel/Kconfig.hz"
218 source "arch/sh/mm/Kconfig"
219
220 endmenu
221
222 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
223
224 config ISA
225         bool
226
227 config SBUS
228         bool
229
230 config PCI
231         bool "PCI support"
232         depends on SH_CAYMAN
233         help
234           Find out whether you have a PCI motherboard. PCI is the name of a
235           bus system, i.e. the way the CPU talks to the other stuff inside
236           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
237           VESA. If you have PCI, say Y, otherwise N.
238
239           The PCI-HOWTO, available from
240           <http://www.tldp.org/docs.html#howto>, contains valuable
241           information about which PCI hardware does work under Linux and which
242           doesn't.
243
244 config SH_PCIDMA_NONCOHERENT
245         bool "Cache and PCI noncoherent"
246         depends on PCI
247         default y
248         help
249           Enable this option if your platform does not have a CPU cache which
250           remains coherent with PCI DMA. It is safest to say 'Y', although you
251           will see better performance if you can say 'N', because the PCI DMA
252           code will not have to flush the CPU's caches. If you have a PCI host
253           bridge integrated with your SH CPU, refer carefully to the chip specs
254           to see if you can say 'N' here. Otherwise, leave it as 'Y'.
255
256 source "drivers/pci/Kconfig"
257
258 source "drivers/pcmcia/Kconfig"
259
260 source "drivers/pci/hotplug/Kconfig"
261
262 endmenu
263
264 menu "Executable file formats"
265
266 source "fs/Kconfig.binfmt"
267
268 endmenu
269
270 source "net/Kconfig"
271
272 source "drivers/Kconfig"
273
274 source "fs/Kconfig"
275
276 source "kernel/Kconfig.instrumentation"
277
278 source "arch/sh/Kconfig.debug"
279
280 source "security/Kconfig"
281
282 source "crypto/Kconfig"
283
284 source "lib/Kconfig"