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