This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / arch / sh64 / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/config-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 UID16
21         bool
22         default y
23
24 config RWSEM_GENERIC_SPINLOCK
25         bool
26         default y
27
28 config LOG_BUF_SHIFT
29         int
30         default 14
31
32 config RWSEM_XCHGADD_ALGORITHM
33         bool
34
35 config GENERIC_ISA_DMA
36         bool
37
38 source init/Kconfig
39
40 menu "System type"
41
42 choice
43         prompt "SuperH system type"
44         default SH_SIMULATOR
45
46 config SH_GENERIC
47         bool "Generic"
48
49 config SH_SIMULATOR
50         bool "Simulator"
51
52 config SH_CAYMAN
53         bool "Cayman"
54
55 config SH_ROMRAM
56         bool "ROM/RAM"
57
58 config SH_HARP
59         bool "ST50-Harp"
60
61 endchoice
62
63 choice
64         prompt "Processor family"
65         default CPU_SH5
66
67 config CPU_SH5
68         bool "SH-5"
69
70 endchoice
71
72 choice
73         prompt "Processor type"
74
75 config CPU_SUBTYPE_SH5_101
76         bool "SH5-101"
77         depends on CPU_SH5
78
79 config CPU_SUBTYPE_SH5_103
80         bool "SH5-103"
81         depends on CPU_SH5
82
83 endchoice
84
85 choice
86         prompt "Endianness"
87         default LITTLE_ENDIAN
88
89 config LITTLE_ENDIAN
90         bool "Little-Endian"
91
92 config BIG_ENDIAN
93         bool "Big-Endian"
94
95 endchoice
96
97 config SH64_FPU_DENORM_FLUSH
98         bool "Flush floating point denorms to zero"
99
100 choice
101         prompt "Page table levels"
102         default SH64_PGTABLE_2_LEVEL
103
104 config SH64_PGTABLE_2_LEVEL
105         bool "2"
106
107 config SH64_PGTABLE_3_LEVEL
108         bool "3"
109
110 endchoice
111
112 choice
113         prompt "HugeTLB page size"
114         depends on HUGETLB_PAGE && MMU
115         default HUGETLB_PAGE_SIZE_64K
116
117 config HUGETLB_PAGE_SIZE_64K
118         bool "64K"
119
120 config HUGETLB_PAGE_SIZE_1MB
121         bool "1MB"
122
123 config HUGETLB_PAGE_SIZE_512MB
124         bool "512MB"
125
126 endchoice
127
128 config SH64_USER_MISALIGNED_FIXUP
129         bool "Fixup misaligned loads/stores occurring in user mode"
130
131 comment "Memory options"
132
133 config CACHED_MEMORY_OFFSET
134         hex "Cached Area Offset"
135         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
136         default "20000000"
137
138 config MEMORY_START
139         hex "Physical memory start address"
140         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
141         default "80000000"
142
143 config MEMORY_SIZE_IN_MB
144         int "Memory size (in MB)" if SH_HARP || SH_CAYMAN || SH_SIMULATOR
145         default "64" if SH_HARP || SH_CAYMAN
146         default "8" if SH_SIMULATOR
147
148 comment "Cache options"
149
150 config DCACHE_DISABLED
151         bool "DCache Disabling"
152         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
153
154 choice
155         prompt "DCache mode"
156         depends on !DCACHE_DISABLED && !SH_SIMULATOR
157         default DCACHE_WRITE_BACK
158
159 config DCACHE_WRITE_BACK
160         bool "Write-back"
161
162 config DCACHE_WRITE_THROUGH
163         bool "Write-through"
164
165 endchoice
166
167 config ICACHE_DISABLED
168         bool "ICache Disabling"
169         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
170
171 config PCIDEVICE_MEMORY_START
172         hex
173         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
174         default "C0000000"
175
176 config DEVICE_MEMORY_START
177         hex
178         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
179         default "E0000000"
180
181 config FLASH_MEMORY_START
182         hex "Flash memory/on-chip devices start address"
183         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
184         default "00000000"
185
186 config PCI_BLOCK_START
187         hex "PCI block start address"
188         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
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 config HEARTBEAT
198         bool "Heartbeat LED"
199
200 config HDSP253_LED
201         bool "Support for HDSP-253 LED"
202         depends on SH_CAYMAN
203
204 config SH_DMA
205         tristate "DMA controller (DMAC) support"
206
207 config PREEMPT
208         bool "Preemptible Kernel (EXPERIMENTAL)"
209         depends on EXPERIMENTAL
210
211 endmenu
212
213 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
214
215 config ISA
216         bool
217
218 config SBUS
219         bool
220
221 config PCI
222         bool "PCI support"
223         help
224           Find out whether you have a PCI motherboard. PCI is the name of a
225           bus system, i.e. the way the CPU talks to the other stuff inside
226           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
227           VESA. If you have PCI, say Y, otherwise N.
228
229           The PCI-HOWTO, available from
230           <http://www.tldp.org/docs.html#howto>, contains valuable
231           information about which PCI hardware does work under Linux and which
232           doesn't.
233
234 config SH_PCIDMA_NONCOHERENT
235         bool "Cache and PCI noncoherent"
236         depends on PCI
237         default y
238         help
239           Enable this option if your platform does not have a CPU cache which
240           remains coherent with PCI DMA. It is safest to say 'Y', although you
241           will see better performance if you can say 'N', because the PCI DMA
242           code will not have to flush the CPU's caches. If you have a PCI host
243           bridge integrated with your SH CPU, refer carefully to the chip specs
244           to see if you can say 'N' here. Otherwise, leave it as 'Y'.
245
246 source "drivers/pci/Kconfig"
247
248 source "drivers/pcmcia/Kconfig"
249
250 source "drivers/pci/hotplug/Kconfig"
251
252 endmenu
253
254 menu "Executable file formats"
255
256 source "fs/Kconfig.binfmt"
257
258 endmenu
259
260 source "drivers/Kconfig"
261
262 source "fs/Kconfig"
263
264 source "arch/sh64/oprofile/Kconfig"
265
266 menu "Kernel hacking"
267
268 config MAGIC_SYSRQ
269         bool "Magic SysRq key"
270         help
271           If you say Y here, you will have some control over the system even
272           if the system crashes for example during kernel debugging (e.g., you
273           will be able to flush the buffer cache to disk, reboot the system
274           immediately or dump some status information). This is accomplished
275           by pressing various keys while holding SysRq (Alt+PrintScreen). It
276           also works on a serial console (on PC hardware at least), if you
277           send a BREAK and then within 5 seconds a command keypress. The
278           keys are documented in Documentation/sysrq.txt. Don't say Y unless
279           you really know what this hack does.
280
281 config EARLY_PRINTK
282         bool "Early SCIF console support"
283
284 config DEBUG_KERNEL_WITH_GDB_STUB
285         bool "GDB Stub kernel debug"
286
287 config SH64_PROC_TLB
288         bool "Debug: report TLB fill/purge activity through /proc/tlb"
289         depends on PROC_FS
290
291 config SH64_PROC_ASIDS
292         bool "Debug: report ASIDs through /proc/asids"
293         depends on PROC_FS
294
295 config SH64_SR_WATCH
296         bool "Debug: set SR.WATCH to enable hardware watchpoints and trace"
297
298 config SH_ALPHANUMERIC
299         bool "Enable debug outputs to on-board alphanumeric display"
300
301 config SH_NO_BSS_INIT
302         bool "Avoid zeroing BSS (to speed-up startup on suitable platforms)"
303
304 config FRAME_POINTER
305         bool "Compile the kernel with frame pointers"
306         default y if KGDB
307         help
308           If you say Y here the resulting kernel image will be slightly larger
309           and slower, but it will give very useful debugging information.
310           If you don't debug the kernel, you can say N, but we may not be able
311           to solve problems without frame pointers.
312
313 endmenu
314
315 source "security/Kconfig"
316
317 source "crypto/Kconfig"
318
319 source "lib/Kconfig"
320