Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
[linux-drm-fsl-dcu.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_FIND_NEXT_BIT
25         bool
26         default y
27
28 config GENERIC_HWEIGHT
29         bool
30         default y
31
32 config GENERIC_CALIBRATE_DELAY
33         bool
34         default y
35
36 config RWSEM_XCHGADD_ALGORITHM
37         bool
38
39 config ARCH_HAS_ILOG2_U32
40         bool
41         default n
42
43 config ARCH_HAS_ILOG2_U64
44         bool
45         default n
46
47 source init/Kconfig
48
49 menu "System type"
50
51 choice
52         prompt "SuperH system type"
53         default SH_SIMULATOR
54
55 config SH_GENERIC
56         bool "Generic"
57
58 config SH_SIMULATOR
59         bool "Simulator"
60
61 config SH_CAYMAN
62         bool "Cayman"
63
64 config SH_ROMRAM
65         bool "ROM/RAM"
66
67 config SH_HARP
68         bool "ST50-Harp"
69
70 endchoice
71
72 choice
73         prompt "Processor family"
74         default CPU_SH5
75
76 config CPU_SH5
77         bool "SH-5"
78
79 endchoice
80
81 choice
82         prompt "Processor type"
83
84 config CPU_SUBTYPE_SH5_101
85         bool "SH5-101"
86         depends on CPU_SH5
87
88 config CPU_SUBTYPE_SH5_103
89         bool "SH5-103"
90         depends on CPU_SH5
91
92 endchoice
93
94 choice
95         prompt "Endianness"
96         default LITTLE_ENDIAN
97
98 config LITTLE_ENDIAN
99         bool "Little-Endian"
100
101 config BIG_ENDIAN
102         bool "Big-Endian"
103
104 endchoice
105
106 config SH_FPU
107         bool "FPU support"
108         default y
109
110 config SH64_FPU_DENORM_FLUSH
111         depends on SH_FPU
112         bool "Flush floating point denorms to zero"
113
114 choice
115         prompt "Page table levels"
116         default SH64_PGTABLE_2_LEVEL
117
118 config SH64_PGTABLE_2_LEVEL
119         bool "2"
120
121 config SH64_PGTABLE_3_LEVEL
122         bool "3"
123
124 endchoice
125
126 choice
127         prompt "HugeTLB page size"
128         depends on HUGETLB_PAGE && MMU
129         default HUGETLB_PAGE_SIZE_64K
130
131 config HUGETLB_PAGE_SIZE_64K
132         bool "64K"
133
134 config HUGETLB_PAGE_SIZE_1MB
135         bool "1MB"
136
137 config HUGETLB_PAGE_SIZE_512MB
138         bool "512MB"
139
140 endchoice
141
142 config SH64_USER_MISALIGNED_FIXUP
143         bool "Fixup misaligned loads/stores occurring in user mode"
144
145 comment "Memory options"
146
147 config CACHED_MEMORY_OFFSET
148         hex "Cached Area Offset"
149         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
150         default "20000000"
151
152 config MEMORY_START
153         hex "Physical memory start address"
154         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
155         default "80000000"
156
157 config 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
162 comment "Cache options"
163
164 config DCACHE_DISABLED
165         bool "DCache Disabling"
166         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
167
168 choice
169         prompt "DCache mode"
170         depends on !DCACHE_DISABLED && !SH_SIMULATOR
171         default DCACHE_WRITE_BACK
172
173 config DCACHE_WRITE_BACK
174         bool "Write-back"
175
176 config DCACHE_WRITE_THROUGH
177         bool "Write-through"
178
179 endchoice
180
181 config ICACHE_DISABLED
182         bool "ICache Disabling"
183         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
184
185 config PCIDEVICE_MEMORY_START
186         hex
187         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
188         default "C0000000"
189
190 config DEVICE_MEMORY_START
191         hex
192         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
193         default "E0000000"
194
195 config 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
200 config PCI_BLOCK_START
201         hex "PCI block start address"
202         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
203         default "40000000"
204
205 comment "CPU Subtype specific options"
206
207 config SH64_ID2815_WORKAROUND
208         bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
209
210 comment "Misc options"
211 config HEARTBEAT
212         bool "Heartbeat LED"
213
214 config HDSP253_LED
215         bool "Support for HDSP-253 LED"
216         depends on SH_CAYMAN
217
218 config SH_DMA
219         tristate "DMA controller (DMAC) support"
220
221 config PREEMPT
222         bool "Preemptible Kernel (EXPERIMENTAL)"
223         depends on EXPERIMENTAL
224
225 source "mm/Kconfig"
226
227 endmenu
228
229 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
230
231 config ISA
232         bool
233
234 config SBUS
235         bool
236
237 config 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
250 config 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
262 source "drivers/pci/Kconfig"
263
264 source "drivers/pcmcia/Kconfig"
265
266 source "drivers/pci/hotplug/Kconfig"
267
268 endmenu
269
270 menu "Executable file formats"
271
272 source "fs/Kconfig.binfmt"
273
274 endmenu
275
276 source "net/Kconfig"
277
278 source "drivers/Kconfig"
279
280 source "fs/Kconfig"
281
282 source "arch/sh64/oprofile/Kconfig"
283
284 source "arch/sh64/Kconfig.debug"
285
286 source "security/Kconfig"
287
288 source "crypto/Kconfig"
289
290 source "lib/Kconfig"
291
292 #
293 # Use the generic interrupt handling code in kernel/irq/:
294 #
295 config GENERIC_HARDIRQS
296         bool
297         default y
298
299 config GENERIC_IRQ_PROBE
300         bool
301         default y
302