blob: 07b172deb872b46478d5d44df926efcddf2acc98 [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
24config GENERIC_CALIBRATE_DELAY
25 bool
26 default y
27
Linus Torvalds1da177e2005-04-16 15:20:36 -070028config RWSEM_XCHGADD_ALGORITHM
29 bool
30
31config GENERIC_ISA_DMA
32 bool
33
34source init/Kconfig
35
36menu "System type"
37
38choice
39 prompt "SuperH system type"
40 default SH_SIMULATOR
41
42config SH_GENERIC
43 bool "Generic"
44
45config SH_SIMULATOR
46 bool "Simulator"
47
48config SH_CAYMAN
49 bool "Cayman"
50
51config SH_ROMRAM
52 bool "ROM/RAM"
53
54config SH_HARP
55 bool "ST50-Harp"
56
57endchoice
58
59choice
60 prompt "Processor family"
61 default CPU_SH5
62
63config CPU_SH5
64 bool "SH-5"
65
66endchoice
67
68choice
69 prompt "Processor type"
70
71config CPU_SUBTYPE_SH5_101
72 bool "SH5-101"
73 depends on CPU_SH5
74
75config CPU_SUBTYPE_SH5_103
76 bool "SH5-103"
77 depends on CPU_SH5
78
79endchoice
80
81choice
82 prompt "Endianness"
83 default LITTLE_ENDIAN
84
85config LITTLE_ENDIAN
86 bool "Little-Endian"
87
88config BIG_ENDIAN
89 bool "Big-Endian"
90
91endchoice
92
93config SH_FPU
94 bool "FPU support"
95 default y
96
97config SH64_FPU_DENORM_FLUSH
98 depends on SH_FPU
99 bool "Flush floating point denorms to zero"
100
101choice
102 prompt "Page table levels"
103 default SH64_PGTABLE_2_LEVEL
104
105config SH64_PGTABLE_2_LEVEL
106 bool "2"
107
108config SH64_PGTABLE_3_LEVEL
109 bool "3"
110
111endchoice
112
113choice
114 prompt "HugeTLB page size"
115 depends on HUGETLB_PAGE && MMU
116 default HUGETLB_PAGE_SIZE_64K
117
118config HUGETLB_PAGE_SIZE_64K
119 bool "64K"
120
121config HUGETLB_PAGE_SIZE_1MB
122 bool "1MB"
123
124config HUGETLB_PAGE_SIZE_512MB
125 bool "512MB"
126
127endchoice
128
129config SH64_USER_MISALIGNED_FIXUP
130 bool "Fixup misaligned loads/stores occurring in user mode"
131
132comment "Memory options"
133
134config CACHED_MEMORY_OFFSET
135 hex "Cached Area Offset"
136 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
137 default "20000000"
138
139config MEMORY_START
140 hex "Physical memory start address"
141 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
142 default "80000000"
143
144config 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
149comment "Cache options"
150
151config DCACHE_DISABLED
152 bool "DCache Disabling"
153 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
154
155choice
156 prompt "DCache mode"
157 depends on !DCACHE_DISABLED && !SH_SIMULATOR
158 default DCACHE_WRITE_BACK
159
160config DCACHE_WRITE_BACK
161 bool "Write-back"
162
163config DCACHE_WRITE_THROUGH
164 bool "Write-through"
165
166endchoice
167
168config ICACHE_DISABLED
169 bool "ICache Disabling"
170 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
171
172config PCIDEVICE_MEMORY_START
173 hex
174 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
175 default "C0000000"
176
177config DEVICE_MEMORY_START
178 hex
179 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
180 default "E0000000"
181
182config 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
187config PCI_BLOCK_START
188 hex "PCI block start address"
189 depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
190 default "40000000"
191
192comment "CPU Subtype specific options"
193
194config SH64_ID2815_WORKAROUND
195 bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
196
197comment "Misc options"
198config HEARTBEAT
199 bool "Heartbeat LED"
200
201config HDSP253_LED
202 bool "Support for HDSP-253 LED"
203 depends on SH_CAYMAN
204
205config SH_DMA
206 tristate "DMA controller (DMAC) support"
207
208config PREEMPT
209 bool "Preemptible Kernel (EXPERIMENTAL)"
210 depends on EXPERIMENTAL
211
Dave Hansen3f22ab22005-06-23 00:07:43 -0700212source "mm/Kconfig"
213
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214endmenu
215
216menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
217
218config ISA
219 bool
220
221config SBUS
222 bool
223
224config 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
237config 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
249source "drivers/pci/Kconfig"
250
251source "drivers/pcmcia/Kconfig"
252
253source "drivers/pci/hotplug/Kconfig"
254
255endmenu
256
257menu "Executable file formats"
258
259source "fs/Kconfig.binfmt"
260
261endmenu
262
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700263source "net/Kconfig"
264
Linus Torvalds1da177e2005-04-16 15:20:36 -0700265source "drivers/Kconfig"
266
267source "fs/Kconfig"
268
269source "arch/sh64/oprofile/Kconfig"
270
271source "arch/sh64/Kconfig.debug"
272
273source "security/Kconfig"
274
275source "crypto/Kconfig"
276
277source "lib/Kconfig"
278
279#
280# Use the generic interrupt handling code in kernel/irq/:
281#
282config GENERIC_HARDIRQS
283 bool
284 default y
285
286config GENERIC_IRQ_PROBE
287 bool
288 default y
289