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