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