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