xref: /linux/arch/sh/Kconfig (revision 4862ec073975e28f432f164405e60fa6f5c9d071)
1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6mainmenu "Linux/SuperH Kernel Configuration"
7
8config SUPERH
9	def_bool y
10	select EMBEDDED
11	help
12	  The SuperH is a RISC processor targeted for use in embedded systems
13	  and consumer electronics; it was also used in the Sega Dreamcast
14	  gaming console.  The SuperH port has a home page at
15	  <http://www.linux-sh.org/>.
16
17config SUPERH32
18	def_bool !SUPERH64
19
20config SUPERH64
21	def_bool y if CPU_SH5
22
23config RWSEM_GENERIC_SPINLOCK
24	def_bool y
25
26config RWSEM_XCHGADD_ALGORITHM
27	bool
28
29config GENERIC_BUG
30	def_bool y
31	depends on BUG && SUPERH32
32
33config GENERIC_FIND_NEXT_BIT
34	def_bool y
35
36config GENERIC_HWEIGHT
37	def_bool y
38
39config GENERIC_HARDIRQS
40	def_bool y
41
42config GENERIC_IRQ_PROBE
43	def_bool y
44
45config GENERIC_CALIBRATE_DELAY
46	def_bool y
47
48config GENERIC_IOMAP
49	bool
50
51config GENERIC_TIME
52	def_bool n
53
54config GENERIC_CLOCKEVENTS
55	def_bool n
56
57config SYS_SUPPORTS_PM
58	bool
59
60config SYS_SUPPORTS_APM_EMULATION
61	bool
62	select SYS_SUPPORTS_PM
63
64config SYS_SUPPORTS_SMP
65	bool
66
67config SYS_SUPPORTS_NUMA
68	bool
69
70config SYS_SUPPORTS_PCI
71	bool
72
73config ARCH_MAY_HAVE_PC_FDC
74	bool
75
76config STACKTRACE_SUPPORT
77	def_bool y
78
79config LOCKDEP_SUPPORT
80	def_bool y
81
82config ARCH_HAS_ILOG2_U32
83	def_bool n
84
85config ARCH_HAS_ILOG2_U64
86	def_bool n
87
88config ARCH_NO_VIRT_TO_BUS
89	def_bool y
90
91source "init/Kconfig"
92
93menu "System type"
94
95#
96# Processor families
97#
98config CPU_SH2
99	bool
100
101config CPU_SH2A
102	bool
103	select CPU_SH2
104
105config CPU_SH3
106	bool
107	select CPU_HAS_INTEVT
108	select CPU_HAS_SR_RB
109
110config CPU_SH4
111	bool
112	select CPU_HAS_INTEVT
113	select CPU_HAS_SR_RB
114	select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
115	select CPU_HAS_FPU if !CPU_SH4AL_DSP
116
117config CPU_SH4A
118	bool
119	select CPU_SH4
120
121config CPU_SH4AL_DSP
122	bool
123	select CPU_SH4A
124	select CPU_HAS_DSP
125
126config CPU_SH5
127	bool
128	select CPU_HAS_FPU
129
130config CPU_SHX2
131	bool
132
133config CPU_SHX3
134	bool
135
136choice
137	prompt "Processor sub-type selection"
138
139#
140# Processor subtypes
141#
142
143# SH-2 Processor Support
144
145config CPU_SUBTYPE_SH7619
146	bool "Support SH7619 processor"
147	select CPU_SH2
148
149# SH-2A Processor Support
150
151config CPU_SUBTYPE_SH7203
152	bool "Support SH7203 processor"
153	select CPU_SH2A
154	select CPU_HAS_FPU
155
156config CPU_SUBTYPE_SH7206
157	bool "Support SH7206 processor"
158	select CPU_SH2A
159
160config CPU_SUBTYPE_SH7263
161	bool "Support SH7263 processor"
162	select CPU_SH2A
163	select CPU_HAS_FPU
164
165# SH-3 Processor Support
166
167config CPU_SUBTYPE_SH7705
168	bool "Support SH7705 processor"
169	select CPU_SH3
170
171config CPU_SUBTYPE_SH7706
172	bool "Support SH7706 processor"
173	select CPU_SH3
174	help
175	  Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
176
177config CPU_SUBTYPE_SH7707
178	bool "Support SH7707 processor"
179	select CPU_SH3
180	help
181	  Select SH7707 if you have a  60 Mhz SH-3 HD6417707 CPU.
182
183config CPU_SUBTYPE_SH7708
184	bool "Support SH7708 processor"
185	select CPU_SH3
186	help
187	  Select SH7708 if you have a  60 Mhz SH-3 HD6417708S or
188	  if you have a 100 Mhz SH-3 HD6417708R CPU.
189
190config CPU_SUBTYPE_SH7709
191	bool "Support SH7709 processor"
192	select CPU_SH3
193	help
194	  Select SH7709 if you have a  80 Mhz SH-3 HD6417709 CPU.
195
196config CPU_SUBTYPE_SH7710
197	bool "Support SH7710 processor"
198	select CPU_SH3
199	select CPU_HAS_DSP
200	help
201	  Select SH7710 if you have a SH3-DSP SH7710 CPU.
202
203config CPU_SUBTYPE_SH7712
204	bool "Support SH7712 processor"
205	select CPU_SH3
206	select CPU_HAS_DSP
207	help
208	  Select SH7712 if you have a SH3-DSP SH7712 CPU.
209
210config CPU_SUBTYPE_SH7720
211	bool "Support SH7720 processor"
212	select CPU_SH3
213	select CPU_HAS_DSP
214	help
215	  Select SH7720 if you have a SH3-DSP SH7720 CPU.
216
217config CPU_SUBTYPE_SH7721
218	bool "Support SH7721 processor"
219	select CPU_SH3
220	select CPU_HAS_DSP
221	help
222	  Select SH7721 if you have a SH3-DSP SH7721 CPU.
223
224# SH-4 Processor Support
225
226config CPU_SUBTYPE_SH7750
227	bool "Support SH7750 processor"
228	select CPU_SH4
229	help
230	  Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
231
232config CPU_SUBTYPE_SH7091
233	bool "Support SH7091 processor"
234	select CPU_SH4
235	help
236	  Select SH7091 if you have an SH-4 based Sega device (such as
237	  the Dreamcast, Naomi, and Naomi 2).
238
239config CPU_SUBTYPE_SH7750R
240	bool "Support SH7750R processor"
241	select CPU_SH4
242
243config CPU_SUBTYPE_SH7750S
244	bool "Support SH7750S processor"
245	select CPU_SH4
246
247config CPU_SUBTYPE_SH7751
248	bool "Support SH7751 processor"
249	select CPU_SH4
250	help
251	  Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
252	  or if you have a HD6417751R CPU.
253
254config CPU_SUBTYPE_SH7751R
255	bool "Support SH7751R processor"
256	select CPU_SH4
257
258config CPU_SUBTYPE_SH7760
259	bool "Support SH7760 processor"
260	select CPU_SH4
261
262config CPU_SUBTYPE_SH4_202
263	bool "Support SH4-202 processor"
264	select CPU_SH4
265
266# SH-4A Processor Support
267
268config CPU_SUBTYPE_SH7763
269	bool "Support SH7763 processor"
270	select CPU_SH4A
271	help
272	  Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
273
274config CPU_SUBTYPE_SH7770
275	bool "Support SH7770 processor"
276	select CPU_SH4A
277
278config CPU_SUBTYPE_SH7780
279	bool "Support SH7780 processor"
280	select CPU_SH4A
281
282config CPU_SUBTYPE_SH7785
283	bool "Support SH7785 processor"
284	select CPU_SH4A
285	select CPU_SHX2
286	select ARCH_SPARSEMEM_ENABLE
287	select SYS_SUPPORTS_NUMA
288
289config CPU_SUBTYPE_SHX3
290	bool "Support SH-X3 processor"
291	select CPU_SH4A
292	select CPU_SHX3
293	select ARCH_SPARSEMEM_ENABLE
294	select SYS_SUPPORTS_NUMA
295	select SYS_SUPPORTS_SMP
296
297# SH4AL-DSP Processor Support
298
299config CPU_SUBTYPE_SH7343
300	bool "Support SH7343 processor"
301	select CPU_SH4AL_DSP
302
303config CPU_SUBTYPE_SH7722
304	bool "Support SH7722 processor"
305	select CPU_SH4AL_DSP
306	select CPU_SHX2
307	select ARCH_SPARSEMEM_ENABLE
308	select SYS_SUPPORTS_NUMA
309
310# SH-5 Processor Support
311
312config CPU_SUBTYPE_SH5_101
313	bool "Support SH5-101 processor"
314	select CPU_SH5
315
316config CPU_SUBTYPE_SH5_103
317	bool "Support SH5-103 processor"
318
319endchoice
320
321source "arch/sh/mm/Kconfig"
322source "arch/sh/Kconfig.cpu"
323
324menu "Board support"
325
326config SOLUTION_ENGINE
327	bool
328
329config SH_SOLUTION_ENGINE
330	bool "SolutionEngine"
331	select SOLUTION_ENGINE
332	select CPU_HAS_IPR_IRQ
333	depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
334	  CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
335	  CPU_SUBTYPE_SH7750R
336	help
337	  Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
338	  SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
339
340config SH_7206_SOLUTION_ENGINE
341	bool "SolutionEngine7206"
342	select SOLUTION_ENGINE
343	depends on CPU_SUBTYPE_SH7206
344	help
345	  Select 7206 SolutionEngine if configuring for a Hitachi SH7206
346	  evaluation board.
347
348config SH_7619_SOLUTION_ENGINE
349	bool "SolutionEngine7619"
350	select SOLUTION_ENGINE
351	depends on CPU_SUBTYPE_SH7619
352	help
353	  Select 7619 SolutionEngine if configuring for a Hitachi SH7619
354	  evaluation board.
355
356config SH_7722_SOLUTION_ENGINE
357	bool "SolutionEngine7722"
358	select SOLUTION_ENGINE
359	depends on CPU_SUBTYPE_SH7722
360	help
361	  Select 7722 SolutionEngine if configuring for a Hitachi SH772
362	  evaluation board.
363
364config SH_7751_SOLUTION_ENGINE
365	bool "SolutionEngine7751"
366	select SOLUTION_ENGINE
367	select CPU_HAS_IPR_IRQ
368	depends on CPU_SUBTYPE_SH7751
369	help
370	  Select 7751 SolutionEngine if configuring for a Hitachi SH7751
371	  evaluation board.
372
373config SH_7780_SOLUTION_ENGINE
374	bool "SolutionEngine7780"
375	select SOLUTION_ENGINE
376	select SYS_SUPPORTS_PCI
377	depends on CPU_SUBTYPE_SH7780
378	help
379	  Select 7780 SolutionEngine if configuring for a Renesas SH7780
380	  evaluation board.
381
382config SH_7343_SOLUTION_ENGINE
383	bool "SolutionEngine7343"
384	select SOLUTION_ENGINE
385	depends on CPU_SUBTYPE_SH7343
386	help
387	  Select 7343 SolutionEngine if configuring for a Hitachi
388	  SH7343 (SH-Mobile 3AS) evaluation board.
389
390config SH_7751_SYSTEMH
391	bool "SystemH7751R"
392	depends on CPU_SUBTYPE_SH7751R
393	help
394	  Select SystemH if you are configuring for a Renesas SystemH
395	  7751R evaluation board.
396
397config SH_HP6XX
398	bool "HP6XX"
399	select SYS_SUPPORTS_APM_EMULATION
400	select HD6446X_SERIES
401	depends on CPU_SUBTYPE_SH7709
402	help
403	  Select HP6XX if configuring for a HP jornada HP6xx.
404	  More information (hardware only) at
405	  <http://www.hp.com/jornada/>.
406
407config SH_DREAMCAST
408	bool "Dreamcast"
409	select SYS_SUPPORTS_PCI
410	depends on CPU_SUBTYPE_SH7091
411	help
412	  Select Dreamcast if configuring for a SEGA Dreamcast.
413	  More information at <http://www.linux-sh.org>
414
415config SH_MPC1211
416	bool "Interface MPC1211"
417	depends on CPU_SUBTYPE_SH7751 && BROKEN
418	help
419	  CTP/PCI-SH02 is a CPU module computer that is produced
420	  by Interface Corporation.
421	  More information at <http://www.interface.co.jp>
422
423config SH_SH03
424	bool "Interface CTP/PCI-SH03"
425	depends on CPU_SUBTYPE_SH7751
426	select CPU_HAS_IPR_IRQ
427	select SYS_SUPPORTS_PCI
428	help
429	  CTP/PCI-SH03 is a CPU module computer that is produced
430	  by Interface Corporation.
431	  More information at <http://www.interface.co.jp>
432
433config SH_SECUREEDGE5410
434	bool "SecureEdge5410"
435	depends on CPU_SUBTYPE_SH7751R
436	select CPU_HAS_IPR_IRQ
437	select SYS_SUPPORTS_PCI
438	help
439	  Select SecureEdge5410 if configuring for a SnapGear SH board.
440	  This includes both the OEM SecureEdge products as well as the
441	  SME product line.
442
443config SH_7710VOIPGW
444	bool "SH7710-VOIP-GW"
445	depends on CPU_SUBTYPE_SH7710
446	help
447	  Select this option to build a kernel for the SH7710 based
448	  VOIP GW.
449
450config SH_RTS7751R2D
451	bool "RTS7751R2D"
452	depends on CPU_SUBTYPE_SH7751R
453	select SYS_SUPPORTS_PCI
454	help
455	  Select RTS7751R2D if configuring for a Renesas Technology
456	  Sales SH-Graphics board.
457
458config SH_SDK7780
459	bool "SDK7780R3"
460	depends on CPU_SUBTYPE_SH7780
461	select SYS_SUPPORTS_PCI
462	help
463	  Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
464	  evaluation board.
465
466config SH_HIGHLANDER
467	bool "Highlander"
468	depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
469	select SYS_SUPPORTS_PCI
470
471config SH_EDOSK7705
472	bool "EDOSK7705"
473	depends on CPU_SUBTYPE_SH7705
474
475config SH_SH4202_MICRODEV
476	bool "SH4-202 MicroDev"
477	depends on CPU_SUBTYPE_SH4_202
478	help
479	  Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
480	  with an SH4-202 CPU.
481
482config SH_LANDISK
483	bool "LANDISK"
484	depends on CPU_SUBTYPE_SH7751R
485	select SYS_SUPPORTS_PCI
486	help
487	  I-O DATA DEVICE, INC. "LANDISK Series" support.
488
489config SH_TITAN
490	bool "TITAN"
491	depends on CPU_SUBTYPE_SH7751R
492	select CPU_HAS_IPR_IRQ
493	select SYS_SUPPORTS_PCI
494	help
495	  Select Titan if you are configuring for a Nimble Microsystems
496	  NetEngine NP51R.
497
498config SH_SHMIN
499	bool "SHMIN"
500	depends on CPU_SUBTYPE_SH7706
501	select CPU_HAS_IPR_IRQ
502	help
503	  Select SHMIN if configuring for the SHMIN board.
504
505config SH_LBOX_RE2
506	bool "L-BOX RE2"
507	depends on CPU_SUBTYPE_SH7751R
508	select SYS_SUPPORTS_PCI
509	help
510	  Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
511
512config SH_X3PROTO
513	bool "SH-X3 Prototype board"
514	depends on CPU_SUBTYPE_SHX3
515
516config SH_MAGIC_PANEL_R2
517	bool "Magic Panel R2"
518	depends on CPU_SUBTYPE_SH7720
519	help
520	  Select Magic Panel R2 if configuring for Magic Panel R2.
521
522config SH_CAYMAN
523	bool "Hitachi Cayman"
524	depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
525	select SYS_SUPPORTS_PCI
526
527endmenu
528
529source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
530source "arch/sh/boards/renesas/r7780rp/Kconfig"
531source "arch/sh/boards/renesas/sdk7780/Kconfig"
532source "arch/sh/boards/magicpanelr2/Kconfig"
533
534menu "Timer and clock configuration"
535
536config SH_TMU
537	def_bool y
538	prompt "TMU timer support"
539	depends on CPU_SH3 || CPU_SH4
540	select GENERIC_TIME
541	select GENERIC_CLOCKEVENTS
542	help
543	  This enables the use of the TMU as the system timer.
544
545config SH_CMT
546	def_bool y
547	prompt "CMT timer support"
548	depends on CPU_SH2
549	help
550	  This enables the use of the CMT as the system timer.
551
552config SH_MTU2
553	def_bool n
554	prompt "MTU2 timer support"
555	depends on CPU_SH2A
556	help
557	  This enables the use of the MTU2 as the system timer.
558
559config SH_TIMER_IRQ
560	int
561	default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
562			CPU_SUBTYPE_SH7763
563	default "86" if CPU_SUBTYPE_SH7619
564	default "140" if CPU_SUBTYPE_SH7206
565	default "16"
566
567config SH_PCLK_FREQ
568	int "Peripheral clock frequency (in Hz)"
569	default "27000000" if CPU_SUBTYPE_SH7343
570	default "31250000" if CPU_SUBTYPE_SH7619
571	default "32000000" if CPU_SUBTYPE_SH7722
572	default "33333333" if CPU_SUBTYPE_SH7770 || \
573			      CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
574			      CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
575			      CPU_SUBTYPE_SH7263
576	default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
577	default "66000000" if CPU_SUBTYPE_SH4_202
578	default "50000000"
579	help
580	  This option is used to specify the peripheral clock frequency.
581	  This is necessary for determining the reference clock value on
582	  platforms lacking an RTC.
583
584config SH_CLK_MD
585	int "CPU Mode Pin Setting"
586	depends on CPU_SH2
587	default 6 if CPU_SUBTYPE_SH7206
588	default 5 if CPU_SUBTYPE_SH7619
589	default 0
590	help
591	  MD2 - MD0 pin setting.
592
593source "kernel/time/Kconfig"
594
595endmenu
596
597menu "CPU Frequency scaling"
598
599source "drivers/cpufreq/Kconfig"
600
601config SH_CPU_FREQ
602	tristate "SuperH CPU Frequency driver"
603	depends on CPU_FREQ
604	select CPU_FREQ_TABLE
605	help
606	  This adds the cpufreq driver for SuperH. At present, only
607	  the SH-4 is supported.
608
609	  For details, take a look at <file:Documentation/cpu-freq>.
610
611	  If unsure, say N.
612
613endmenu
614
615source "arch/sh/drivers/Kconfig"
616
617endmenu
618
619config ISA_DMA_API
620	def_bool y
621	depends on SH_MPC1211
622
623menu "Kernel features"
624
625source kernel/Kconfig.hz
626
627config KEXEC
628	bool "kexec system call (EXPERIMENTAL)"
629	depends on EXPERIMENTAL
630	help
631	  kexec is a system call that implements the ability to shutdown your
632	  current kernel, and to start another kernel.  It is like a reboot
633	  but it is independent of the system firmware.  And like a reboot
634	  you can start any kernel with it, not just Linux.
635
636	  The name comes from the similarity to the exec system call.
637
638	  It is an ongoing process to be certain the hardware in a machine
639	  is properly shutdown, so do not be surprised if this code does not
640	  initially work for you.  It may help to enable device hotplugging
641	  support.  As of this writing the exact hardware interface is
642	  strongly in flux, so no good recommendation can be made.
643
644config CRASH_DUMP
645	bool "kernel crash dumps (EXPERIMENTAL)"
646	depends on EXPERIMENTAL
647	help
648	  Generate crash dump after being started by kexec.
649	  This should be normally only set in special crash dump kernels
650	  which are loaded in the main kernel with kexec-tools into
651	  a specially reserved region and then later executed after
652	  a crash by kdump/kexec. The crash dump kernel must be compiled
653	  to a memory address not used by the main kernel using
654	  MEMORY_START.
655
656	  For more details see Documentation/kdump/kdump.txt
657
658config SMP
659	bool "Symmetric multi-processing support"
660	depends on SYS_SUPPORTS_SMP
661	---help---
662	  This enables support for systems with more than one CPU. If you have
663	  a system with only one CPU, like most personal computers, say N. If
664	  you have a system with more than one CPU, say Y.
665
666	  If you say N here, the kernel will run on single and multiprocessor
667	  machines, but will use only one CPU of a multiprocessor machine. If
668	  you say Y here, the kernel will run on many, but not all,
669	  singleprocessor machines. On a singleprocessor machine, the kernel
670	  will run faster if you say N here.
671
672	  People using multiprocessor machines who say Y here should also say
673	  Y to "Enhanced Real Time Clock Support", below.
674
675	  See also the <file:Documentation/smp.txt>,
676	  <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
677	  at <http://www.tldp.org/docs.html#howto>.
678
679	  If you don't know what to do here, say N.
680
681config NR_CPUS
682	int "Maximum number of CPUs (2-32)"
683	range 2 32
684	depends on SMP
685	default "4" if CPU_SHX3
686	default "2"
687	help
688	  This allows you to specify the maximum number of CPUs which this
689	  kernel will support.  The maximum supported value is 32 and the
690	  minimum value which makes sense is 2.
691
692	  This is purely to save memory - each supported CPU adds
693	  approximately eight kilobytes to the kernel image.
694
695source "kernel/Kconfig.preempt"
696
697config GUSA
698	def_bool y
699	depends on !SMP && SUPERH32
700	help
701	  This enables support for gUSA (general UserSpace Atomicity).
702	  This is the default implementation for both UP and non-ll/sc
703	  CPUs, and is used by the libc, amongst others.
704
705	  For additional information, design information can be found
706	  in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
707
708	  This should only be disabled for special cases where alternate
709	  atomicity implementations exist.
710
711config GUSA_RB
712	bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
713	depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
714	help
715	  Enabling this option will allow the kernel to implement some
716	  atomic operations using a software implemention of load-locked/
717	  store-conditional (LLSC). On machines which do not have hardware
718	  LLSC, this should be more efficient than the other alternative of
719	  disabling insterrupts around the atomic sequence.
720
721endmenu
722
723menu "Boot options"
724
725config ZERO_PAGE_OFFSET
726	hex "Zero page offset"
727	default "0x00004000" if SH_MPC1211 || SH_SH03
728	default "0x00010000" if PAGE_SIZE_64KB
729	default "0x00002000" if PAGE_SIZE_8KB
730	default "0x00001000"
731	help
732	  This sets the default offset of zero page.
733
734config BOOT_LINK_OFFSET
735	hex "Link address offset for booting"
736	default "0x00800000"
737	help
738	  This option allows you to set the link address offset of the zImage.
739	  This can be useful if you are on a board which has a small amount of
740	  memory.
741
742config UBC_WAKEUP
743	bool "Wakeup UBC on startup"
744	depends on CPU_SH4 && !CPU_SH4A
745	help
746	  Selecting this option will wakeup the User Break Controller (UBC) on
747	  startup. Although the UBC is left in an awake state when the processor
748	  comes up, some boot loaders misbehave by putting the UBC to sleep in a
749	  power saving state, which causes issues with things like ptrace().
750
751	  If unsure, say N.
752
753config CMDLINE_BOOL
754	bool "Default bootloader kernel arguments"
755
756config CMDLINE
757	string "Initial kernel command string"
758	depends on CMDLINE_BOOL
759	default "console=ttySC1,115200"
760
761endmenu
762
763menu "Bus options"
764
765# Even on SuperH devices which don't have an ISA bus,
766# this variable helps the PCMCIA modules handle
767# IRQ requesting properly -- Greg Banks.
768#
769# Though we're generally not interested in it when
770# we're not using PCMCIA, so we make it dependent on
771# PCMCIA outright. -- PFM.
772config ISA
773	def_bool y
774	depends on PCMCIA && HD6446X_SERIES
775	help
776	  Find out whether you have ISA slots on your motherboard.  ISA is the
777	  name of a bus system, i.e. the way the CPU talks to the other stuff
778	  inside your box.  Other bus systems are PCI, EISA, MicroChannel
779	  (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
780	  newer boards don't support it.  If you have ISA, say Y, otherwise N.
781
782config EISA
783	bool
784	---help---
785	  The Extended Industry Standard Architecture (EISA) bus was
786	  developed as an open alternative to the IBM MicroChannel bus.
787
788	  The EISA bus provided some of the features of the IBM MicroChannel
789	  bus while maintaining backward compatibility with cards made for
790	  the older ISA bus.  The EISA bus saw limited use between 1988 and
791	  1995 when it was made obsolete by the PCI bus.
792
793	  Say Y here if you are building a kernel for an EISA-based machine.
794
795	  Otherwise, say N.
796
797config MCA
798	bool
799	help
800	  MicroChannel Architecture is found in some IBM PS/2 machines and
801	  laptops.  It is a bus system similar to PCI or ISA. See
802	  <file:Documentation/mca.txt> (and especially the web page given
803	  there) before attempting to build an MCA bus kernel.
804
805config SBUS
806	bool
807
808config SUPERHYWAY
809	tristate "SuperHyway Bus support"
810	depends on CPU_SUBTYPE_SH4_202
811
812config MAPLE
813       bool "Maple Bus support"
814       depends on SH_DREAMCAST
815       help
816         The Maple Bus is SEGA's serial communication bus for peripherals
817         on the Dreamcast. Without this bus support you won't be able to
818         get your Dreamcast keyboard etc to work, so most users
819         probably want to say 'Y' here, unless you are only using the
820         Dreamcast with a serial line terminal or a remote network
821         connection.
822
823config CF_ENABLER
824	bool "Compact Flash Enabler support"
825	depends on SOLUTION_ENGINE || SH_SH03
826	---help---
827	  Compact Flash is a small, removable mass storage device introduced
828	  in 1994 originally as a PCMCIA device.  If you say `Y' here, you
829	  compile in support for Compact Flash devices directly connected to
830	  a SuperH processor.  A Compact Flash FAQ is available at
831	  <http://www.compactflash.org/faqs/faq.htm>.
832
833	  If your board has "Directly Connected" CompactFlash at area 5 or 6,
834	  you may want to enable this option.  Then, you can use CF as
835	  primary IDE drive (only tested for SanDisk).
836
837	  If in doubt, select 'N'.
838
839choice
840	prompt "Compact Flash Connection Area"
841	depends on CF_ENABLER
842	default CF_AREA6
843
844config CF_AREA5
845	bool "Area5"
846	help
847	  If your board has "Directly Connected" CompactFlash, You should
848	  select the area where your CF is connected to.
849
850	  - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
851	  - "Area6" if it is connected to Area 6 (0x18000000)
852
853	  "Area6" will work for most boards.
854
855config CF_AREA6
856	bool "Area6"
857
858endchoice
859
860config CF_BASE_ADDR
861	hex
862	depends on CF_ENABLER
863	default "0xb8000000" if CF_AREA6
864	default "0xb4000000" if CF_AREA5
865
866source "arch/sh/drivers/pci/Kconfig"
867
868source "drivers/pci/Kconfig"
869
870source "drivers/pcmcia/Kconfig"
871
872source "drivers/pci/hotplug/Kconfig"
873
874endmenu
875
876menu "Executable file formats"
877
878source "fs/Kconfig.binfmt"
879
880endmenu
881
882menu "Power management options (EXPERIMENTAL)"
883depends on EXPERIMENTAL && SYS_SUPPORTS_PM
884
885source kernel/power/Kconfig
886
887endmenu
888
889source "net/Kconfig"
890
891source "drivers/Kconfig"
892
893source "fs/Kconfig"
894
895source "kernel/Kconfig.instrumentation"
896
897source "arch/sh/Kconfig.debug"
898
899source "security/Kconfig"
900
901source "crypto/Kconfig"
902
903source "lib/Kconfig"
904