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