Blame view

arch/sh/Kconfig 20.9 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
  config SUPERH
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
2
  	def_bool y
6a108a14f   David Rientjes   kconfig: rename C...
3
  	select EXPERT
6d803ba73   Jean-Christop PLAGNIOL-VILLARD   ARM: 6483/1: arm ...
4
  	select CLKDEV_LOOKUP
86e4dd5ad   Paul Mundt   sh: support for p...
5
  	select HAVE_IDE if HAS_IOPORT
95f72d1ed   Yinghai Lu   lmb: rename to me...
6
  	select HAVE_MEMBLOCK
534cfbee2   Tejun Heo   SuperH: Use HAVE_...
7
  	select HAVE_MEMBLOCK_NODE_MAP
42d4b839c   Mathieu Desnoyers   Add HAVE_OPROFILE
8
  	select HAVE_OPROFILE
9de90ac27   Dmitry Eremin-Solenikov   Sh: use generic p...
9
  	select HAVE_GENERIC_DMA_COHERENT
d7b01f78a   Paul Mundt   sh: Enable HAVE_A...
10
  	select HAVE_ARCH_TRACEHOOK
f802d969b   Paul Mundt   sh: Add support f...
11
  	select HAVE_DMA_API_DEBUG
73c926bee   Paul Mundt   sh: Convert to as...
12
  	select HAVE_DMA_ATTRS
e360adbe2   Peter Zijlstra   irq_work: Add gen...
13
  	select HAVE_IRQ_WORK
cdd6c482c   Ingo Molnar   perf: Do the big ...
14
  	select HAVE_PERF_EVENTS
df013ffb8   Huang Ying   Add Kconfig optio...
15
  	select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A)
72f0c137a   Paul Mundt   sh: enable PERF_U...
16
  	select PERF_USE_VMALLOC
df8ce2595   Paul Mundt   sh: Tidy up gzip-...
17
  	select HAVE_KERNEL_GZIP
07e88e1bf   Paul Mundt   sh: bzip2/lzma zI...
18
19
  	select HAVE_KERNEL_BZIP2
  	select HAVE_KERNEL_LZMA
50cfa79dc   Paul Mundt   sh: support XZ-co...
20
  	select HAVE_KERNEL_XZ
c7b16efb7   Paul Mundt   sh: Add support f...
21
  	select HAVE_KERNEL_LZO
a74f7e041   Paul Mundt   sh: Wire up HAVE_...
22
  	select HAVE_SYSCALL_TRACEPOINTS
eaaaeef39   Paul Mundt   sh: Add kprobe-ba...
23
  	select HAVE_REGS_AND_STACK_ACCESS_API
57b813303   Paul Mundt   sh: Tidy up genir...
24
25
  	select HAVE_GENERIC_HARDIRQS
  	select HAVE_SPARSE_IRQ
ed170924d   Paul Mundt   sh: select IRQ_FO...
26
  	select IRQ_FORCED_THREADING
6eac1af01   Paul Mundt   sh: Always select...
27
  	select RTC_LIB
f01789c68   Paul Mundt   sh: Use generic a...
28
  	select GENERIC_ATOMIC64
3d44ae402   Paul Mundt   sh: Convert to ge...
29
  	select GENERIC_IRQ_SHOW
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
30
31
32
33
34
  	help
  	  The SuperH is a RISC processor targeted for use in embedded systems
  	  and consumer electronics; it was also used in the Sega Dreamcast
  	  gaming console.  The SuperH port has a home page at
  	  <http://www.linux-sh.org/>.
39d28a2db   Paul Mundt   sh: Add a SUPERH3...
35
  config SUPERH32
3cc000b58   Paul Mundt   sh: Plug in suppo...
36
  	def_bool ARCH = "sh"
d39f54501   Chris Smith   sh: Add kprobes s...
37
38
  	select HAVE_KPROBES
  	select HAVE_KRETPROBES
6d63e73d5   Paul Mundt   sh: Limit ioremap...
39
  	select HAVE_IOREMAP_PROT if MMU && !X2TLB
694f94f26   Paul Mundt   sh: FTRACE rename...
40
  	select HAVE_FUNCTION_TRACER
fad57feba   Matt Fleming   sh: dynamic ftrac...
41
42
  	select HAVE_FTRACE_MCOUNT_RECORD
  	select HAVE_DYNAMIC_FTRACE
c1340c053   Matt Fleming   sh: Define HAVE_F...
43
  	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
e4b053d96   Paul Mundt   sh: ftrace: Make ...
44
  	select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE
327933f5d   Matt Fleming   sh: Function grap...
45
  	select HAVE_FUNCTION_GRAPH_TRACER
ab6e570ba   Paul Mundt   sh: Generic kgdb ...
46
  	select HAVE_ARCH_KGDB
6fbfe8d7c   Paul Mundt   sh: select HAVE_H...
47
  	select HAVE_HW_BREAKPOINT
0102752e4   Frederic Weisbecker   hw-breakpoints: S...
48
  	select HAVE_MIXED_BREAKPOINTS_REGS
e583d6b3c   Sam Ravnborg   sh: fix recursive...
49
  	select PERF_EVENTS
8dafc3461   Paul Mundt   sh: Select ARCH_H...
50
  	select ARCH_HIBERNATION_POSSIBLE if MMU
57b813303   Paul Mundt   sh: Tidy up genir...
51
  	select SPARSE_IRQ
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
52
53
  
  config SUPERH64
3cc000b58   Paul Mundt   sh: Plug in suppo...
54
  	def_bool ARCH = "sh64"
39d28a2db   Paul Mundt   sh: Add a SUPERH3...
55

f42b7e3db   Paul Mundt   sh: Add ARCH_DEFC...
56
57
58
59
  config ARCH_DEFCONFIG
  	string
  	default "arch/sh/configs/shx3_defconfig" if SUPERH32
  	default "arch/sh/configs/cayman_defconfig" if SUPERH64
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
60
  config RWSEM_GENERIC_SPINLOCK
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
61
  	def_bool y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
62
63
64
  
  config RWSEM_XCHGADD_ALGORITHM
  	bool
fa6915117   Paul Mundt   sh: generic BUG()...
65
66
  config GENERIC_BUG
  	def_bool y
a82d53ec2   Paul Mundt   sh: Generic BUG o...
67
  	depends on BUG && SUPERH32
fa6915117   Paul Mundt   sh: generic BUG()...
68

3767f3f1e   Paul Mundt   sh: Convert sh64 ...
69
70
71
  config GENERIC_CSUM
  	def_bool y
  	depends on SUPERH64
e2268c712   Akinobu Mita   [PATCH] bitops: s...
72
  config GENERIC_HWEIGHT
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
73
  	def_bool y
e2268c712   Akinobu Mita   [PATCH] bitops: s...
74

2eb2a4368   Paul Mundt   sh: SH7786 SMP su...
75
76
  config IRQ_PER_CPU
  	def_bool y
2967dab1a   Magnus Damm   sh: GPIO and pinm...
77
78
  config GENERIC_GPIO
  	def_bool n
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
79
  config GENERIC_CALIBRATE_DELAY
cf204fa79   Paul Mundt   sh: Derive calibr...
80
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
81

57be2b484   Paul Mundt   sh: clockevent/cl...
82
  config GENERIC_CLOCKEVENTS
938edae11   Paul Mundt   sh: select both G...
83
  	def_bool y
57be2b484   Paul Mundt   sh: clockevent/cl...
84

8c24594de   Paul Mundt   sh: generic clock...
85
86
  config GENERIC_CLOCKEVENTS_BROADCAST
  	bool
6d134b9e8   Paul Mundt   sh: Wire up GENER...
87
88
89
  config GENERIC_CMOS_UPDATE
  	def_bool y
  	depends on SH_SH03 || SH_DREAMCAST
bdcab87b1   Paul Mundt   sh: define GENERI...
90
91
92
  config GENERIC_LOCKBREAK
  	def_bool y
  	depends on SMP && PREEMPT
af998a9a0   Magnus Damm   sh: allow CONFIG_PM
93
94
95
96
97
  config ARCH_SUSPEND_POSSIBLE
  	def_bool n
  
  config ARCH_HIBERNATION_POSSIBLE
  	def_bool n
357d59469   Paul Mundt   sh: Tidy up depen...
98

0a9b0db19   Paul Mundt   [APM] SH: Convert...
99
100
  config SYS_SUPPORTS_APM_EMULATION
  	bool
af998a9a0   Magnus Damm   sh: allow CONFIG_PM
101
  	select ARCH_SUSPEND_POSSIBLE
357d59469   Paul Mundt   sh: Tidy up depen...
102

ffb4a73d8   Paul Mundt   sh: Fix hugetlbfs...
103
104
  config SYS_SUPPORTS_HUGETLBFS
  	bool
357d59469   Paul Mundt   sh: Tidy up depen...
105
106
107
108
109
110
111
112
  config SYS_SUPPORTS_SMP
  	bool
  
  config SYS_SUPPORTS_NUMA
  	bool
  
  config SYS_SUPPORTS_PCI
  	bool
0a9b0db19   Paul Mundt   [APM] SH: Convert...
113

f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
114
115
  config SYS_SUPPORTS_CMT
  	bool
d5ed4c2e5   Magnus Damm   clocksource: Supe...
116
117
  config SYS_SUPPORTS_MTU2
  	bool
9570ef204   Magnus Damm   clocksource: Supe...
118
119
  config SYS_SUPPORTS_TMU
  	bool
afbfb52e4   Paul Mundt   sh: stacktrace/lo...
120
  config STACKTRACE_SUPPORT
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
121
  	def_bool y
afbfb52e4   Paul Mundt   sh: stacktrace/lo...
122
123
  
  config LOCKDEP_SUPPORT
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
124
  	def_bool y
afbfb52e4   Paul Mundt   sh: stacktrace/lo...
125

5a89f1adb   Paul Mundt   sh: latencytop su...
126
127
  config HAVE_LATENCYTOP_SUPPORT
  	def_bool y
5a89f1adb   Paul Mundt   sh: latencytop su...
128

f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
129
  config ARCH_HAS_ILOG2_U32
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
130
  	def_bool n
f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
131
132
  
  config ARCH_HAS_ILOG2_U64
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
133
  	def_bool n
f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
134

e257ad062   Paul Mundt   sh: Kill off virt...
135
136
  config ARCH_NO_VIRT_TO_BUS
  	def_bool y
e869a90ee   Paul Mundt   sh: Wire up ARCH_...
137
138
  config ARCH_HAS_DEFAULT_IDLE
  	def_bool y
2e046b948   Paul Mundt   sh: Provide cpu_i...
139
140
  config ARCH_HAS_CPU_IDLE_WAIT
  	def_bool y
86e4dd5ad   Paul Mundt   sh: support for p...
141
  config NO_IOPORT
37b7a9788   Paul Mundt   sh: machvec IO de...
142
  	def_bool !PCI
4e2b1084b   Paul Mundt   sh: Update shmin ...
143
  	depends on !SH_CAYMAN && !SH_SH4202_MICRODEV && !SH_SHMIN
86e4dd5ad   Paul Mundt   sh: support for p...
144

e7cc9a734   Magnus Damm   sh: trapped io su...
145
146
  config IO_TRAPPED
  	bool
01be5d63f   Paul Mundt   sh: Revamp PCI DM...
147
148
149
150
151
  config DMA_COHERENT
  	bool
  
  config DMA_NONCOHERENT
  	def_bool !DMA_COHERENT
5cabbb627   FUJITA Tomonori   pci-dma: sh: use ...
152
153
  config NEED_DMA_MAP_STATE
  	def_bool DMA_NONCOHERENT
18e98307d   FUJITA Tomonori   asm-generic: add ...
154
155
  config NEED_SG_DMA_LENGTH
  	def_bool y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
156
  source "init/Kconfig"
dc52ddc0e   Matt Helsley   container freezer...
157
  source "kernel/Kconfig.freezer"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
158
  menu "System type"
b5f42db0a   Paul Mundt   sh: Move CPU subt...
159
160
161
162
163
164
165
166
167
  #
  # Processor families
  #
  config CPU_SH2
  	bool
  
  config CPU_SH2A
  	bool
  	select CPU_SH2
e2fcf74f3   Paul Mundt   sh: nommu: use 32...
168
  	select UNCACHED_MAPPING
b5f42db0a   Paul Mundt   sh: Move CPU subt...
169
170
171
172
173
  
  config CPU_SH3
  	bool
  	select CPU_HAS_INTEVT
  	select CPU_HAS_SR_RB
4fa48e177   Paul Mundt   sh: Enable new TM...
174
  	select SYS_SUPPORTS_TMU
b5f42db0a   Paul Mundt   sh: Move CPU subt...
175
176
177
178
179
  
  config CPU_SH4
  	bool
  	select CPU_HAS_INTEVT
  	select CPU_HAS_SR_RB
b5f42db0a   Paul Mundt   sh: Move CPU subt...
180
  	select CPU_HAS_FPU if !CPU_SH4AL_DSP
4fa48e177   Paul Mundt   sh: Enable new TM...
181
  	select SYS_SUPPORTS_TMU
ffb4a73d8   Paul Mundt   sh: Fix hugetlbfs...
182
  	select SYS_SUPPORTS_HUGETLBFS if MMU
b5f42db0a   Paul Mundt   sh: Move CPU subt...
183
184
185
186
187
188
189
190
191
  
  config CPU_SH4A
  	bool
  	select CPU_SH4
  
  config CPU_SH4AL_DSP
  	bool
  	select CPU_SH4A
  	select CPU_HAS_DSP
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
192
193
194
  config CPU_SH5
  	bool
  	select CPU_HAS_FPU
add47067a   Paul Mundt   sh: Finish the sh...
195
  	select SYS_SUPPORTS_TMU
ffb4a73d8   Paul Mundt   sh: Fix hugetlbfs...
196
  	select SYS_SUPPORTS_HUGETLBFS if MMU
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
197

b5f42db0a   Paul Mundt   sh: Move CPU subt...
198
199
200
201
202
  config CPU_SHX2
  	bool
  
  config CPU_SHX3
  	bool
01be5d63f   Paul Mundt   sh: Revamp PCI DM...
203
  	select DMA_COHERENT
4b478ee2a   Paul Mundt   sh: All SH-X3 cor...
204
205
  	select SYS_SUPPORTS_SMP
  	select SYS_SUPPORTS_NUMA
b5f42db0a   Paul Mundt   sh: Move CPU subt...
206

dc65a977c   Paul Mundt   sh: Define ARCH_S...
207
208
  config ARCH_SHMOBILE
  	bool
775949127   Magnus Damm   sh: SuperH Mobile...
209
  	select ARCH_SUSPEND_POSSIBLE
ac2c596b5   Magnus Damm   sh: let ARCH_SHMO...
210
211
  	select PM
  	select PM_RUNTIME
dc65a977c   Paul Mundt   sh: Define ARCH_S...
212

86c8c0479   Matt Fleming   sh: oprofile: Use...
213
214
215
216
  config CPU_HAS_PMU
         depends on CPU_SH4 || CPU_SH4A
         default y
         bool
3cc000b58   Paul Mundt   sh: Plug in suppo...
217
  if SUPERH32
b5f42db0a   Paul Mundt   sh: Move CPU subt...
218
219
220
221
222
223
224
225
226
227
228
229
  choice
  	prompt "Processor sub-type selection"
  
  #
  # Processor subtypes
  #
  
  # SH-2 Processor Support
  
  config CPU_SUBTYPE_SH7619
  	bool "Support SH7619 processor"
  	select CPU_SH2
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
230
  	select SYS_SUPPORTS_CMT
b5f42db0a   Paul Mundt   sh: Move CPU subt...
231
232
  
  # SH-2A Processor Support
2825999e8   Peter Griffin   sh: Add support f...
233
234
235
236
  config CPU_SUBTYPE_SH7201
  	bool "Support SH7201 processor"
  	select CPU_SH2A
  	select CPU_HAS_FPU
da107c6ef   Magnus Damm   sh: sh2a MTU2 pla...
237
  	select SYS_SUPPORTS_MTU2
2825999e8   Peter Griffin   sh: Add support f...
238
   
6d01f5108   Paul Mundt   sh: Add SH7203 CP...
239
240
241
  config CPU_SUBTYPE_SH7203
  	bool "Support SH7203 processor"
  	select CPU_SH2A
74d99a5e2   Paul Mundt   sh: SH-2A FPU sup...
242
  	select CPU_HAS_FPU
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
243
  	select SYS_SUPPORTS_CMT
da107c6ef   Magnus Damm   sh: sh2a MTU2 pla...
244
  	select SYS_SUPPORTS_MTU2
f020c92de   Paul Mundt   sh: Enable option...
245
  	select ARCH_WANT_OPTIONAL_GPIOLIB
6d01f5108   Paul Mundt   sh: Add SH7203 CP...
246

b5f42db0a   Paul Mundt   sh: Move CPU subt...
247
248
249
  config CPU_SUBTYPE_SH7206
  	bool "Support SH7206 processor"
  	select CPU_SH2A
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
250
  	select SYS_SUPPORTS_CMT
da107c6ef   Magnus Damm   sh: sh2a MTU2 pla...
251
  	select SYS_SUPPORTS_MTU2
b5f42db0a   Paul Mundt   sh: Move CPU subt...
252

a8f67f4b4   Paul Mundt   sh: Add SH7263 CP...
253
254
255
  config CPU_SUBTYPE_SH7263
  	bool "Support SH7263 processor"
  	select CPU_SH2A
74d99a5e2   Paul Mundt   sh: SH-2A FPU sup...
256
  	select CPU_HAS_FPU
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
257
  	select SYS_SUPPORTS_CMT
da107c6ef   Magnus Damm   sh: sh2a MTU2 pla...
258
  	select SYS_SUPPORTS_MTU2
a8f67f4b4   Paul Mundt   sh: Add SH7263 CP...
259

2ad699080   Paul Mundt   sh: Initial suppo...
260
261
262
  config CPU_SUBTYPE_MXG
  	bool "Support MX-G processor"
  	select CPU_SH2A
da107c6ef   Magnus Damm   sh: sh2a MTU2 pla...
263
  	select SYS_SUPPORTS_MTU2
2ad699080   Paul Mundt   sh: Initial suppo...
264
265
  	help
  	  Select MX-G if running on an R8A03022BG part.
b5f42db0a   Paul Mundt   sh: Move CPU subt...
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
  # SH-3 Processor Support
  
  config CPU_SUBTYPE_SH7705
  	bool "Support SH7705 processor"
  	select CPU_SH3
  
  config CPU_SUBTYPE_SH7706
  	bool "Support SH7706 processor"
  	select CPU_SH3
  	help
  	  Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
  
  config CPU_SUBTYPE_SH7707
  	bool "Support SH7707 processor"
  	select CPU_SH3
  	help
  	  Select SH7707 if you have a  60 Mhz SH-3 HD6417707 CPU.
  
  config CPU_SUBTYPE_SH7708
  	bool "Support SH7708 processor"
  	select CPU_SH3
  	help
  	  Select SH7708 if you have a  60 Mhz SH-3 HD6417708S or
  	  if you have a 100 Mhz SH-3 HD6417708R CPU.
  
  config CPU_SUBTYPE_SH7709
  	bool "Support SH7709 processor"
  	select CPU_SH3
  	help
  	  Select SH7709 if you have a  80 Mhz SH-3 HD6417709 CPU.
  
  config CPU_SUBTYPE_SH7710
  	bool "Support SH7710 processor"
  	select CPU_SH3
  	select CPU_HAS_DSP
  	help
  	  Select SH7710 if you have a SH3-DSP SH7710 CPU.
  
  config CPU_SUBTYPE_SH7712
  	bool "Support SH7712 processor"
  	select CPU_SH3
  	select CPU_HAS_DSP
  	help
  	  Select SH7712 if you have a SH3-DSP SH7712 CPU.
  
  config CPU_SUBTYPE_SH7720
  	bool "Support SH7720 processor"
  	select CPU_SH3
  	select CPU_HAS_DSP
2b23a8826   Magnus Damm   sh: CMT platform ...
315
  	select SYS_SUPPORTS_CMT
f020c92de   Paul Mundt   sh: Enable option...
316
  	select ARCH_WANT_OPTIONAL_GPIOLIB
e3e9887ee   Paul Mundt   sh: Convert to US...
317
  	select USB_ARCH_HAS_OHCI
7b61ca5d9   Paul Mundt   sh: Fix up unmet ...
318
  	select USB_OHCI_SH if USB_OHCI_HCD
b5f42db0a   Paul Mundt   sh: Move CPU subt...
319
320
  	help
  	  Select SH7720 if you have a SH3-DSP SH7720 CPU.
31a49c4bf   Yoshihiro Shimoda   sh: Add support f...
321
322
323
324
  config CPU_SUBTYPE_SH7721
  	bool "Support SH7721 processor"
  	select CPU_SH3
  	select CPU_HAS_DSP
2b23a8826   Magnus Damm   sh: CMT platform ...
325
  	select SYS_SUPPORTS_CMT
e3e9887ee   Paul Mundt   sh: Convert to US...
326
  	select USB_ARCH_HAS_OHCI
7b61ca5d9   Paul Mundt   sh: Fix up unmet ...
327
  	select USB_OHCI_SH if USB_OHCI_HCD
31a49c4bf   Yoshihiro Shimoda   sh: Add support f...
328
329
  	help
  	  Select SH7721 if you have a SH3-DSP SH7721 CPU.
b5f42db0a   Paul Mundt   sh: Move CPU subt...
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
  # SH-4 Processor Support
  
  config CPU_SUBTYPE_SH7750
  	bool "Support SH7750 processor"
  	select CPU_SH4
  	help
  	  Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
  
  config CPU_SUBTYPE_SH7091
  	bool "Support SH7091 processor"
  	select CPU_SH4
  	help
  	  Select SH7091 if you have an SH-4 based Sega device (such as
  	  the Dreamcast, Naomi, and Naomi 2).
  
  config CPU_SUBTYPE_SH7750R
  	bool "Support SH7750R processor"
  	select CPU_SH4
  
  config CPU_SUBTYPE_SH7750S
  	bool "Support SH7750S processor"
  	select CPU_SH4
  
  config CPU_SUBTYPE_SH7751
  	bool "Support SH7751 processor"
  	select CPU_SH4
  	help
  	  Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
  	  or if you have a HD6417751R CPU.
  
  config CPU_SUBTYPE_SH7751R
  	bool "Support SH7751R processor"
  	select CPU_SH4
  
  config CPU_SUBTYPE_SH7760
  	bool "Support SH7760 processor"
  	select CPU_SH4
  
  config CPU_SUBTYPE_SH4_202
  	bool "Support SH4-202 processor"
  	select CPU_SH4
  
  # SH-4A Processor Support
178dd0cd2   Paul Mundt   sh: Add support f...
373
374
375
376
  config CPU_SUBTYPE_SH7723
  	bool "Support SH7723 processor"
  	select CPU_SH4A
  	select CPU_SHX2
dc65a977c   Paul Mundt   sh: Define ARCH_S...
377
  	select ARCH_SHMOBILE
178dd0cd2   Paul Mundt   sh: Add support f...
378
  	select ARCH_SPARSEMEM_ENABLE
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
379
  	select SYS_SUPPORTS_CMT
f020c92de   Paul Mundt   sh: Enable option...
380
  	select ARCH_WANT_OPTIONAL_GPIOLIB
178dd0cd2   Paul Mundt   sh: Add support f...
381
382
  	help
  	  Select SH7723 if you have an SH-MobileR2 CPU.
0207a2efb   Kuninori Morimoto   sh: Add support f...
383
384
385
386
  config CPU_SUBTYPE_SH7724
  	bool "Support SH7724 processor"
  	select CPU_SH4A
  	select CPU_SHX2
59fe700dc   Paul Mundt   sh: Have SH7724 s...
387
  	select ARCH_SHMOBILE
0207a2efb   Kuninori Morimoto   sh: Add support f...
388
389
  	select ARCH_SPARSEMEM_ENABLE
  	select SYS_SUPPORTS_CMT
f020c92de   Paul Mundt   sh: Enable option...
390
  	select ARCH_WANT_OPTIONAL_GPIOLIB
0207a2efb   Kuninori Morimoto   sh: Add support f...
391
392
  	help
  	  Select SH7724 if you have an SH-MobileR2R CPU.
c01f0f1a4   Yoshihiro Shimoda   sh: Add initial s...
393
394
395
396
  config CPU_SUBTYPE_SH7757
  	bool "Support SH7757 processor"
  	select CPU_SH4A
  	select CPU_SHX2
f020c92de   Paul Mundt   sh: Enable option...
397
  	select ARCH_WANT_OPTIONAL_GPIOLIB
0fe48601d   Yoshihiro Shimoda   sh: add USB_ARCH_...
398
399
  	select USB_ARCH_HAS_OHCI
  	select USB_ARCH_HAS_EHCI
c01f0f1a4   Yoshihiro Shimoda   sh: Add initial s...
400
401
  	help
  	  Select SH7757 if you have a SH4A SH7757 CPU.
7d740a066   Yoshihiro Shimoda   sh: Add support f...
402
403
404
  config CPU_SUBTYPE_SH7763
  	bool "Support SH7763 processor"
  	select CPU_SH4A
e3e9887ee   Paul Mundt   sh: Convert to US...
405
  	select USB_ARCH_HAS_OHCI
7b61ca5d9   Paul Mundt   sh: Fix up unmet ...
406
  	select USB_OHCI_SH if USB_OHCI_HCD
7d740a066   Yoshihiro Shimoda   sh: Add support f...
407
408
  	help
  	  Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
b5f42db0a   Paul Mundt   sh: Move CPU subt...
409
410
411
412
413
414
415
416
417
418
419
420
  config CPU_SUBTYPE_SH7770
  	bool "Support SH7770 processor"
  	select CPU_SH4A
  
  config CPU_SUBTYPE_SH7780
  	bool "Support SH7780 processor"
  	select CPU_SH4A
  
  config CPU_SUBTYPE_SH7785
  	bool "Support SH7785 processor"
  	select CPU_SH4A
  	select CPU_SHX2
55ba99eb2   Kuninori Morimoto   sh: Add support f...
421
422
  	select ARCH_SPARSEMEM_ENABLE
  	select SYS_SUPPORTS_NUMA
f020c92de   Paul Mundt   sh: Enable option...
423
  	select ARCH_WANT_OPTIONAL_GPIOLIB
55ba99eb2   Kuninori Morimoto   sh: Add support f...
424
425
426
427
  
  config CPU_SUBTYPE_SH7786
  	bool "Support SH7786 processor"
  	select CPU_SH4A
37042fbd8   Paul Mundt   sh: SH7786 is an ...
428
  	select CPU_SHX3
8263a67e1   Paul Mundt   sh: Support for e...
429
  	select CPU_HAS_PTEAEX
2eb2a4368   Paul Mundt   sh: SH7786 SMP su...
430
  	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
f020c92de   Paul Mundt   sh: Enable option...
431
  	select ARCH_WANT_OPTIONAL_GPIOLIB
e3e9887ee   Paul Mundt   sh: Convert to US...
432
  	select USB_ARCH_HAS_OHCI
7b61ca5d9   Paul Mundt   sh: Fix up unmet ...
433
  	select USB_OHCI_SH if USB_OHCI_HCD
e3e9887ee   Paul Mundt   sh: Convert to US...
434
  	select USB_ARCH_HAS_EHCI
7b61ca5d9   Paul Mundt   sh: Fix up unmet ...
435
  	select USB_EHCI_SH if USB_EHCI_HCD
b5f42db0a   Paul Mundt   sh: Move CPU subt...
436
437
438
439
440
  
  config CPU_SUBTYPE_SHX3
  	bool "Support SH-X3 processor"
  	select CPU_SH4A
  	select CPU_SHX3
5840263ec   Paul Mundt   sh: Don't enable ...
441
  	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
742759eae   Paul Mundt   sh: Handle pinmux...
442
  	select ARCH_REQUIRE_GPIOLIB
b5f42db0a   Paul Mundt   sh: Move CPU subt...
443
444
445
446
447
448
  
  # SH4AL-DSP Processor Support
  
  config CPU_SUBTYPE_SH7343
  	bool "Support SH7343 processor"
  	select CPU_SH4AL_DSP
dc65a977c   Paul Mundt   sh: Define ARCH_S...
449
  	select ARCH_SHMOBILE
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
450
  	select SYS_SUPPORTS_CMT
b5f42db0a   Paul Mundt   sh: Move CPU subt...
451
452
453
454
455
  
  config CPU_SUBTYPE_SH7722
  	bool "Support SH7722 processor"
  	select CPU_SH4AL_DSP
  	select CPU_SHX2
dc65a977c   Paul Mundt   sh: Define ARCH_S...
456
  	select ARCH_SHMOBILE
b5f42db0a   Paul Mundt   sh: Move CPU subt...
457
458
  	select ARCH_SPARSEMEM_ENABLE
  	select SYS_SUPPORTS_NUMA
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
459
  	select SYS_SUPPORTS_CMT
f020c92de   Paul Mundt   sh: Enable option...
460
  	select ARCH_WANT_OPTIONAL_GPIOLIB
9109a30e5   Magnus Damm   sh: add support f...
461
462
463
464
465
  
  config CPU_SUBTYPE_SH7366
  	bool "Support SH7366 processor"
  	select CPU_SH4AL_DSP
  	select CPU_SHX2
dc65a977c   Paul Mundt   sh: Define ARCH_S...
466
  	select ARCH_SHMOBILE
9109a30e5   Magnus Damm   sh: add support f...
467
468
  	select ARCH_SPARSEMEM_ENABLE
  	select SYS_SUPPORTS_NUMA
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
469
  	select SYS_SUPPORTS_CMT
b5f42db0a   Paul Mundt   sh: Move CPU subt...
470

3cc000b58   Paul Mundt   sh: Plug in suppo...
471
472
473
474
475
476
477
478
  endchoice
  
  endif
  
  if SUPERH64
  
  choice
  	prompt "Processor sub-type selection"
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
479
480
481
482
483
484
485
486
  # SH-5 Processor Support
  
  config CPU_SUBTYPE_SH5_101
  	bool "Support SH5-101 processor"
  	select CPU_SH5
  
  config CPU_SUBTYPE_SH5_103
  	bool "Support SH5-103 processor"
8ef97dd7a   Paul Mundt   sh: SH5-103 needs...
487
  	select CPU_SH5
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
488

b5f42db0a   Paul Mundt   sh: Move CPU subt...
489
  endchoice
3cc000b58   Paul Mundt   sh: Plug in suppo...
490
  endif
f3d222985   Paul Mundt   sh: Rework CPU/bo...
491
  source "arch/sh/mm/Kconfig"
939a24a6d   Paul Mundt   sh: Move out the ...
492
   
4690bdc7c   Paul Mundt   sh: Consolidate C...
493
  source "arch/sh/Kconfig.cpu"
f3d222985   Paul Mundt   sh: Rework CPU/bo...
494

939a24a6d   Paul Mundt   sh: Move out the ...
495
  source "arch/sh/boards/Kconfig"
32351a28a   Paul Mundt   sh: Add SH7785 Hi...
496

32351a28a   Paul Mundt   sh: Add SH7785 Hi...
497
  menu "Timer and clock configuration"
9570ef204   Magnus Damm   clocksource: Supe...
498
499
  config SH_TIMER_TMU
  	bool "TMU timer driver"
f19900b2e   Magnus Damm   sh: remove old TM...
500
  	depends on SYS_SUPPORTS_TMU
9570ef204   Magnus Damm   clocksource: Supe...
501
  	default y
9570ef204   Magnus Damm   clocksource: Supe...
502
503
  	help
  	  This enables the build of the TMU timer driver.
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
504
  config SH_TIMER_CMT
f425752fc   Magnus Damm   sh: remove old CM...
505
506
507
  	bool "CMT timer driver"
  	depends on SYS_SUPPORTS_CMT
  	default y
f425752fc   Magnus Damm   sh: remove old CM...
508
509
  	help
  	  This enables build of the CMT timer driver.
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
510

d5ed4c2e5   Magnus Damm   clocksource: Supe...
511
512
  config SH_TIMER_MTU2
  	bool "MTU2 timer driver"
3280c8865   Magnus Damm   sh: remove old MT...
513
  	depends on SYS_SUPPORTS_MTU2
d5ed4c2e5   Magnus Damm   clocksource: Supe...
514
  	default y
d5ed4c2e5   Magnus Damm   clocksource: Supe...
515
516
  	help
  	  This enables build of the MTU2 timer driver.
cad824484   Paul Mundt   [PATCH] sh: Move ...
517
518
  config SH_PCLK_FREQ
  	int "Peripheral clock frequency (in Hz)"
8152a74bc   Paul Mundt   sh: Only provide ...
519
  	depends on SH_CLK_CPG_LEGACY
9d4436a6f   Yoshinori Sato   sh: Add support f...
520
  	default "31250000" if CPU_SUBTYPE_SH7619
8152a74bc   Paul Mundt   sh: Only provide ...
521
522
523
524
525
526
  	default "33333333" if CPU_SUBTYPE_SH7770 || \
  			      CPU_SUBTYPE_SH7760 || \
  			      CPU_SUBTYPE_SH7705 || \
  			      CPU_SUBTYPE_SH7203 || \
  			      CPU_SUBTYPE_SH7206 || \
  			      CPU_SUBTYPE_SH7263 || \
43a1839cb   Paul Mundt   sh: SH7786 clock ...
527
  			      CPU_SUBTYPE_MXG
05627486a   Paul Mundt   sh: Fix SH-4 CPU ...
528
  	default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
cad824484   Paul Mundt   [PATCH] sh: Move ...
529
  	default "66000000" if CPU_SUBTYPE_SH4_202
05627486a   Paul Mundt   sh: Fix SH-4 CPU ...
530
  	default "50000000"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
531
  	help
cad824484   Paul Mundt   [PATCH] sh: Move ...
532
533
534
  	  This option is used to specify the peripheral clock frequency.
  	  This is necessary for determining the reference clock value on
  	  platforms lacking an RTC.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
535

36aa1e32f   Paul Mundt   sh: clkfwk: Make ...
536
537
  config SH_CLK_CPG
  	def_bool y
253b0887b   Paul Mundt   sh: clkfwk: Rewor...
538
  config SH_CLK_CPG_LEGACY
36aa1e32f   Paul Mundt   sh: clkfwk: Make ...
539
  	depends on SH_CLK_CPG
43a1839cb   Paul Mundt   sh: SH7786 clock ...
540
  	def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \
5924ad0d8   Paul Mundt   sh: Update SH-X3 ...
541
  		      !CPU_SHX3 && !CPU_SUBTYPE_SH7757
253b0887b   Paul Mundt   sh: clkfwk: Rewor...
542

57be2b484   Paul Mundt   sh: clockevent/cl...
543
  source "kernel/time/Kconfig"
32351a28a   Paul Mundt   sh: Add SH7785 Hi...
544
  endmenu
cad824484   Paul Mundt   [PATCH] sh: Move ...
545
546
547
  menu "CPU Frequency scaling"
  
  source "drivers/cpufreq/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
548

cad824484   Paul Mundt   [PATCH] sh: Move ...
549
550
  config SH_CPU_FREQ
  	tristate "SuperH CPU Frequency driver"
cb5ec75b8   Paul Mundt   sh: cpufreq: cloc...
551
  	depends on CPU_FREQ
cad824484   Paul Mundt   [PATCH] sh: Move ...
552
  	select CPU_FREQ_TABLE
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
553
  	help
8a655053c   Paul Mundt   doc: Update sh cp...
554
555
556
557
558
559
  	  This adds the cpufreq driver for SuperH. Any CPU that supports
  	  clock rate rounding through the clock framework can use this
  	  driver. While it will make the kernel slightly larger, this is
  	  harmless for CPUs that don't support rate rounding. The driver
  	  will also generate a notice in the boot log before disabling
  	  itself if the CPU in question is not capable of rate rounding.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
560

cad824484   Paul Mundt   [PATCH] sh: Move ...
561
  	  For details, take a look at <file:Documentation/cpu-freq>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
562
563
  
  	  If unsure, say N.
cad824484   Paul Mundt   [PATCH] sh: Move ...
564
  endmenu
9f5e8eee5   Paul Mundt   sh: generic push-...
565
  source "arch/sh/drivers/Kconfig"
cad824484   Paul Mundt   [PATCH] sh: Move ...
566
  endmenu
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
567

cad824484   Paul Mundt   [PATCH] sh: Move ...
568
  menu "Kernel features"
91b91d014   Paul Mundt   sh: SH7710VoIPGW ...
569
  source kernel/Kconfig.hz
cad824484   Paul Mundt   [PATCH] sh: Move ...
570
571
  config KEXEC
  	bool "kexec system call (EXPERIMENTAL)"
f36b59d1a   Nobuhiro Iwamatsu   sh: Add MMU depen...
572
  	depends on SUPERH32 && EXPERIMENTAL && MMU
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
573
  	help
cad824484   Paul Mundt   [PATCH] sh: Move ...
574
575
  	  kexec is a system call that implements the ability to shutdown your
  	  current kernel, and to start another kernel.  It is like a reboot
1f1332f72   Matt LaPlante   [PATCH] KConfig: ...
576
  	  but it is independent of the system firmware.  And like a reboot
cad824484   Paul Mundt   [PATCH] sh: Move ...
577
  	  you can start any kernel with it, not just Linux.
1f1332f72   Matt LaPlante   [PATCH] KConfig: ...
578
  	  The name comes from the similarity to the exec system call.
cad824484   Paul Mundt   [PATCH] sh: Move ...
579
580
581
582
583
584
  
  	  It is an ongoing process to be certain the hardware in a machine
  	  is properly shutdown, so do not be surprised if this code does not
  	  initially work for you.  It may help to enable device hotplugging
  	  support.  As of this writing the exact hardware interface is
  	  strongly in flux, so no good recommendation can be made.
4d5ade5b2   Paul Mundt   sh: kdump support.
585
586
  config CRASH_DUMP
  	bool "kernel crash dumps (EXPERIMENTAL)"
d523e1ae6   Paul Mundt   sh: flag kdump as...
587
  	depends on SUPERH32 && EXPERIMENTAL && BROKEN_ON_SMP
4d5ade5b2   Paul Mundt   sh: kdump support.
588
589
590
591
592
593
594
  	help
  	  Generate crash dump after being started by kexec.
  	  This should be normally only set in special crash dump kernels
  	  which are loaded in the main kernel with kexec-tools into
  	  a specially reserved region and then later executed after
  	  a crash by kdump/kexec. The crash dump kernel must be compiled
  	  to a memory address not used by the main kernel using
e66ac3f26   Simon Horman   sh: kexec: Add PH...
595
  	  PHYSICAL_START.
4d5ade5b2   Paul Mundt   sh: kdump support.
596
597
  
  	  For more details see Documentation/kdump/kdump.txt
b7cf6ddc1   Magnus Damm   sh: add kexec jum...
598
599
600
601
602
603
  config KEXEC_JUMP
  	bool "kexec jump (EXPERIMENTAL)"
  	depends on SUPERH32 && KEXEC && HIBERNATION && EXPERIMENTAL
  	help
  	  Jump between original kernel and kexeced kernel and invoke
  	  code via KEXEC
e66ac3f26   Simon Horman   sh: kexec: Add PH...
604
605
606
607
608
609
610
611
612
613
  config PHYSICAL_START
  	hex "Physical address where the kernel is loaded" if (EXPERT || CRASH_DUMP)
  	default MEMORY_START
  	---help---
  	  This gives the physical address where the kernel is loaded
  	  and is ordinarily the same as MEMORY_START.
  
  	  Different values are primarily used in the case of kexec on panic
  	  where the fail safe kernel needs to run at a different address
  	  than the panic-ed kernel.
c4637d475   Paul Mundt   sh: seccomp support.
614
615
616
  config SECCOMP
  	bool "Enable seccomp to safely compute untrusted bytecode"
  	depends on PROC_FS
c4637d475   Paul Mundt   sh: seccomp support.
617
618
619
620
621
622
623
624
625
626
627
628
  	help
  	  This kernel feature is useful for number crunching applications
  	  that may need to compute untrusted bytecode during their
  	  execution. By using pipes or other transports made available to
  	  the process as file descriptors supporting the read/write
  	  syscalls, it's possible to isolate those applications in
  	  their own address space using seccomp. Once seccomp is
  	  enabled via prctl, it cannot be disabled and the task is only
  	  allowed to execute a few safe syscalls defined by each seccomp
  	  mode.
  
  	  If unsure, say N.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
629
630
  config SMP
  	bool "Symmetric multi-processing support"
357d59469   Paul Mundt   sh: Tidy up depen...
631
  	depends on SYS_SUPPORTS_SMP
490f5de52   Jens Axboe   sh: convert to ge...
632
  	select USE_GENERIC_SMP_HELPERS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
633
634
635
636
637
638
639
640
641
642
643
644
645
  	---help---
  	  This enables support for systems with more than one CPU. If you have
  	  a system with only one CPU, like most personal computers, say N. If
  	  you have a system with more than one CPU, say Y.
  
  	  If you say N here, the kernel will run on single and multiprocessor
  	  machines, but will use only one CPU of a multiprocessor machine. If
  	  you say Y here, the kernel will run on many, but not all,
  	  singleprocessor machines. On a singleprocessor machine, the kernel
  	  will run faster if you say N here.
  
  	  People using multiprocessor machines who say Y here should also say
  	  Y to "Enhanced Real Time Clock Support", below.
03502faa2   Adrian Bunk   remove Documentat...
646
647
  	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
  	  available at <http://www.tldp.org/docs.html#howto>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
648
649
650
651
652
653
654
  
  	  If you don't know what to do here, say N.
  
  config NR_CPUS
  	int "Maximum number of CPUs (2-32)"
  	range 2 32
  	depends on SMP
2eb2a4368   Paul Mundt   sh: SH7786 SMP su...
655
  	default "4" if CPU_SUBTYPE_SHX3
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
656
657
658
659
660
661
662
663
  	default "2"
  	help
  	  This allows you to specify the maximum number of CPUs which this
  	  kernel will support.  The maximum supported value is 32 and the
  	  minimum value which makes sense is 2.
  
  	  This is purely to save memory - each supported CPU adds
  	  approximately eight kilobytes to the kernel image.
763142d1e   Paul Mundt   sh: CPU hotplug s...
664
665
666
667
668
669
  config HOTPLUG_CPU
  	bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
  	depends on SMP && HOTPLUG && EXPERIMENTAL
  	help
  	  Say Y here to experiment with turning CPUs off and on.  CPUs
  	  can be controlled through /sys/devices/system/cpu.
91b91d014   Paul Mundt   sh: SH7710VoIPGW ...
670
  source "kernel/Kconfig.preempt"
836624619   Paul Mundt   sh: Conditionaliz...
671
672
  config GUSA
  	def_bool y
1efe4ce3c   Stuart Menefy   sh: GUSA atomic r...
673
  	depends on !SMP && SUPERH32
836624619   Paul Mundt   sh: Conditionaliz...
674
675
676
677
678
679
680
681
682
683
  	help
  	  This enables support for gUSA (general UserSpace Atomicity).
  	  This is the default implementation for both UP and non-ll/sc
  	  CPUs, and is used by the libc, amongst others.
  
  	  For additional information, design information can be found 
  	  in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
  
  	  This should only be disabled for special cases where alternate
  	  atomicity implementations exist.
1efe4ce3c   Stuart Menefy   sh: GUSA atomic r...
684
685
686
687
688
  config GUSA_RB
  	bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
  	depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
  	help
  	  Enabling this option will allow the kernel to implement some
692105b8a   Matt LaPlante   trivial: fix typo...
689
  	  atomic operations using a software implementation of load-locked/
1efe4ce3c   Stuart Menefy   sh: GUSA atomic r...
690
691
  	  store-conditional (LLSC). On machines which do not have hardware
  	  LLSC, this should be more efficient than the other alternative of
692105b8a   Matt LaPlante   trivial: fix typo...
692
  	  disabling interrupts around the atomic sequence.
1efe4ce3c   Stuart Menefy   sh: GUSA atomic r...
693

86c8c0479   Matt Fleming   sh: oprofile: Use...
694
695
696
697
698
699
700
  config HW_PERF_EVENTS
  	bool "Enable hardware performance counter support for perf events"
  	depends on PERF_EVENTS && CPU_HAS_PMU
  	default y
  	help
  	  Enable hardware performance counter support for perf events. If
  	  disabled, perf events will use software events only.
43b8774dc   Paul Mundt   sh: intc: userima...
701
  source "drivers/sh/Kconfig"
cad824484   Paul Mundt   [PATCH] sh: Move ...
702
  endmenu
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
703

cad824484   Paul Mundt   [PATCH] sh: Move ...
704
  menu "Boot options"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
705

cad824484   Paul Mundt   [PATCH] sh: Move ...
706
  config ZERO_PAGE_OFFSET
b412a49af   Paul Mundt   sh: Consolidate t...
707
708
709
710
  	hex
  	default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \
  				SH_7751_SOLUTION_ENGINE
  	default "0x00004000" if PAGE_SIZE_16KB || SH_SH03
7a847f819   Paul Mundt   sh: More tidying ...
711
  	default "0x00002000" if PAGE_SIZE_8KB
cad824484   Paul Mundt   [PATCH] sh: Move ...
712
  	default "0x00001000"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
713
  	help
cad824484   Paul Mundt   [PATCH] sh: Move ...
714
  	  This sets the default offset of zero page.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
715

cad824484   Paul Mundt   [PATCH] sh: Move ...
716
  config BOOT_LINK_OFFSET
b412a49af   Paul Mundt   sh: Consolidate t...
717
718
  	hex
  	default "0x00210000" if SH_SHMIN
a2e76c80d   Paul Mundt   sh: Provide a tig...
719
  	default "0x00400000" if SH_CAYMAN
b412a49af   Paul Mundt   sh: Consolidate t...
720
721
722
723
  	default "0x00810000" if SH_7780_SOLUTION_ENGINE
  	default "0x009e0000" if SH_TITAN
  	default "0x01800000" if SH_SDK7780
  	default "0x02000000" if SH_EDOSK7760
cad824484   Paul Mundt   [PATCH] sh: Move ...
724
725
726
727
728
  	default "0x00800000"
  	help
  	  This option allows you to set the link address offset of the zImage.
  	  This can be useful if you are on a board which has a small amount of
  	  memory.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
729

b412a49af   Paul Mundt   sh: Consolidate t...
730
731
732
733
734
735
736
  config ENTRY_OFFSET
  	hex
  	default "0x00001000" if PAGE_SIZE_4KB
  	default "0x00002000" if PAGE_SIZE_8KB
  	default "0x00004000" if PAGE_SIZE_16KB
  	default "0x00010000" if PAGE_SIZE_64KB
  	default "0x00000000"
4705b2e80   Magnus Damm   sh: add romImage ...
737
738
739
740
741
742
743
744
745
746
  config ROMIMAGE_MMCIF
  	bool "Include MMCIF loader in romImage (EXPERIMENTAL)"
  	depends on CPU_SUBTYPE_SH7724 && EXPERIMENTAL
  	help
  	  Say Y here to include experimental MMCIF loading code in
  	  romImage. With this enabled it is possible to write the romImage
  	  kernel image to an MMC card and boot the kernel straight from
  	  the reset vector. At reset the processor Mask ROM will load the
  	  first part of the romImage which in turn loads the rest the kernel
  	  image to RAM using the MMCIF hardware block.
d724a9c9d   Pawel Moll   sh: Allow for ker...
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
  choice
  	prompt "Kernel command line"
  	optional
  	default CMDLINE_OVERWRITE
  	help
  	  Setting this option allows the kernel command line arguments
  	  to be set.
  
  config CMDLINE_OVERWRITE
  	bool "Overwrite bootloader kernel arguments"
  	help
  	  Given string will overwrite any arguments passed in by
  	  a bootloader.
  
  config CMDLINE_EXTEND
  	bool "Extend bootloader kernel arguments"
  	help
  	  Given string will be concatenated with arguments passed in
  	  by a bootloader.
  
  endchoice
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
768

cad824484   Paul Mundt   [PATCH] sh: Move ...
769
  config CMDLINE
d724a9c9d   Pawel Moll   sh: Allow for ker...
770
771
  	string "Kernel command line arguments string"
  	depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND
cad824484   Paul Mundt   [PATCH] sh: Move ...
772
  	default "console=ttySC1,115200"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
773
774
  
  endmenu
cad824484   Paul Mundt   [PATCH] sh: Move ...
775
  menu "Bus options"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
776

cad824484   Paul Mundt   [PATCH] sh: Move ...
777
778
779
  config SUPERHYWAY
  	tristate "SuperHyway Bus support"
  	depends on CPU_SUBTYPE_SH4_202
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
780

17be2d2b1   Adrian McMenamin   sh: Add maple bus...
781
  config MAPLE
e16038aba   Paul Mundt   sh: Kill off obso...
782
783
784
785
786
787
788
789
790
  	bool "Maple Bus support"
  	depends on SH_DREAMCAST
  	help
  	 The Maple Bus is SEGA's serial communication bus for peripherals
  	 on the Dreamcast. Without this bus support you won't be able to
  	 get your Dreamcast keyboard etc to work, so most users
  	 probably want to say 'Y' here, unless you are only using the
  	 Dreamcast with a serial line terminal or a remote network
  	 connection.
17be2d2b1   Adrian McMenamin   sh: Add maple bus...
791

7693465d8   Paul Mundt   sh: Kill off supe...
792
793
794
  config PCI
  	bool "PCI support"
  	depends on SYS_SUPPORTS_PCI
320e68da5   Paul Mundt   sh: support PCI d...
795
  	select PCI_DOMAINS
43db595e8   Michael S. Tsirkin   sh: switch to GEN...
796
  	select GENERIC_PCI_IOMAP
7693465d8   Paul Mundt   sh: Kill off supe...
797
798
799
800
  	help
  	  Find out whether you have a PCI motherboard. PCI is the name of a
  	  bus system, i.e. the way the CPU talks to the other stuff inside
  	  your box. If you have PCI, say Y, otherwise N.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
801

320e68da5   Paul Mundt   sh: support PCI d...
802
803
  config PCI_DOMAINS
  	bool
e16038aba   Paul Mundt   sh: Kill off obso...
804
  source "drivers/pci/pcie/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
805
806
807
808
809
810
811
812
813
814
815
816
817
  source "drivers/pci/Kconfig"
  
  source "drivers/pcmcia/Kconfig"
  
  source "drivers/pci/hotplug/Kconfig"
  
  endmenu
  
  menu "Executable file formats"
  
  source "fs/Kconfig.binfmt"
  
  endmenu
3aa770e79   Andriy Skulysh   sh: APM/PM support.
818
  menu "Power management options (EXPERIMENTAL)"
af998a9a0   Magnus Damm   sh: allow CONFIG_PM
819
  depends on EXPERIMENTAL
f4cb57007   Johannes Berg   Suspend: Clean up...
820

c6f17cb22   Magnus Damm   sh: allow CONFIG_...
821
822
823
  source "kernel/power/Kconfig"
  
  source "drivers/cpuidle/Kconfig"
3aa770e79   Andriy Skulysh   sh: APM/PM support.
824

3aa770e79   Andriy Skulysh   sh: APM/PM support.
825
  endmenu
d5950b435   Sam Ravnborg   [NET]: add a top-...
826
  source "net/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
827
828
829
  source "drivers/Kconfig"
  
  source "fs/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
830
831
832
833
834
835
836
  source "arch/sh/Kconfig.debug"
  
  source "security/Kconfig"
  
  source "crypto/Kconfig"
  
  source "lib/Kconfig"