2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux/SuperH Kernel Configuration"
13 The SuperH is a RISC processor targeted for use in embedded systems
14 and consumer electronics; it was also used in the Sega Dreamcast
15 gaming console. The SuperH port has a home page at
16 <http://www.linux-sh.org/>.
24 config RWSEM_GENERIC_SPINLOCK
27 config RWSEM_XCHGADD_ALGORITHM
32 depends on BUG && SUPERH32
34 config GENERIC_FIND_NEXT_BIT
37 config GENERIC_HWEIGHT
40 config GENERIC_HARDIRQS
43 config GENERIC_IRQ_PROBE
46 config GENERIC_CALIBRATE_DELAY
55 config GENERIC_CLOCKEVENTS
58 config SYS_SUPPORTS_PM
61 config SYS_SUPPORTS_APM_EMULATION
63 select SYS_SUPPORTS_PM
65 config SYS_SUPPORTS_SMP
68 config SYS_SUPPORTS_NUMA
71 config SYS_SUPPORTS_PCI
74 config ARCH_MAY_HAVE_PC_FDC
77 config STACKTRACE_SUPPORT
80 config LOCKDEP_SUPPORT
83 config ARCH_HAS_ILOG2_U32
86 config ARCH_HAS_ILOG2_U64
89 config ARCH_NO_VIRT_TO_BUS
108 select CPU_HAS_INTEVT
113 select CPU_HAS_INTEVT
115 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
116 select CPU_HAS_FPU if !CPU_SH4AL_DSP
138 prompt "Processor sub-type selection"
144 # SH-2 Processor Support
146 config CPU_SUBTYPE_SH7619
147 bool "Support SH7619 processor"
150 # SH-2A Processor Support
152 config CPU_SUBTYPE_SH7203
153 bool "Support SH7203 processor"
157 config CPU_SUBTYPE_SH7206
158 bool "Support SH7206 processor"
161 config CPU_SUBTYPE_SH7263
162 bool "Support SH7263 processor"
166 # SH-3 Processor Support
168 config CPU_SUBTYPE_SH7705
169 bool "Support SH7705 processor"
172 config CPU_SUBTYPE_SH7706
173 bool "Support SH7706 processor"
176 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
178 config CPU_SUBTYPE_SH7707
179 bool "Support SH7707 processor"
182 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
184 config CPU_SUBTYPE_SH7708
185 bool "Support SH7708 processor"
188 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
189 if you have a 100 Mhz SH-3 HD6417708R CPU.
191 config CPU_SUBTYPE_SH7709
192 bool "Support SH7709 processor"
195 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
197 config CPU_SUBTYPE_SH7710
198 bool "Support SH7710 processor"
202 Select SH7710 if you have a SH3-DSP SH7710 CPU.
204 config CPU_SUBTYPE_SH7712
205 bool "Support SH7712 processor"
209 Select SH7712 if you have a SH3-DSP SH7712 CPU.
211 config CPU_SUBTYPE_SH7720
212 bool "Support SH7720 processor"
216 Select SH7720 if you have a SH3-DSP SH7720 CPU.
218 config CPU_SUBTYPE_SH7721
219 bool "Support SH7721 processor"
223 Select SH7721 if you have a SH3-DSP SH7721 CPU.
225 # SH-4 Processor Support
227 config CPU_SUBTYPE_SH7750
228 bool "Support SH7750 processor"
231 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
233 config CPU_SUBTYPE_SH7091
234 bool "Support SH7091 processor"
237 Select SH7091 if you have an SH-4 based Sega device (such as
238 the Dreamcast, Naomi, and Naomi 2).
240 config CPU_SUBTYPE_SH7750R
241 bool "Support SH7750R processor"
244 config CPU_SUBTYPE_SH7750S
245 bool "Support SH7750S processor"
248 config CPU_SUBTYPE_SH7751
249 bool "Support SH7751 processor"
252 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
253 or if you have a HD6417751R CPU.
255 config CPU_SUBTYPE_SH7751R
256 bool "Support SH7751R processor"
259 config CPU_SUBTYPE_SH7760
260 bool "Support SH7760 processor"
263 config CPU_SUBTYPE_SH4_202
264 bool "Support SH4-202 processor"
267 # SH-4A Processor Support
269 config CPU_SUBTYPE_SH7763
270 bool "Support SH7763 processor"
273 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
275 config CPU_SUBTYPE_SH7770
276 bool "Support SH7770 processor"
279 config CPU_SUBTYPE_SH7780
280 bool "Support SH7780 processor"
283 config CPU_SUBTYPE_SH7785
284 bool "Support SH7785 processor"
287 select ARCH_SPARSEMEM_ENABLE
288 select SYS_SUPPORTS_NUMA
290 config CPU_SUBTYPE_SHX3
291 bool "Support SH-X3 processor"
294 select ARCH_SPARSEMEM_ENABLE
295 select SYS_SUPPORTS_NUMA
296 select SYS_SUPPORTS_SMP
298 # SH4AL-DSP Processor Support
300 config CPU_SUBTYPE_SH7343
301 bool "Support SH7343 processor"
304 config CPU_SUBTYPE_SH7722
305 bool "Support SH7722 processor"
308 select ARCH_SPARSEMEM_ENABLE
309 select SYS_SUPPORTS_NUMA
311 # SH-5 Processor Support
313 config CPU_SUBTYPE_SH5_101
314 bool "Support SH5-101 processor"
317 config CPU_SUBTYPE_SH5_103
318 bool "Support SH5-103 processor"
322 source "arch/sh/mm/Kconfig"
323 source "arch/sh/Kconfig.cpu"
327 config SOLUTION_ENGINE
330 config SH_SOLUTION_ENGINE
331 bool "SolutionEngine"
332 select SOLUTION_ENGINE
333 select CPU_HAS_IPR_IRQ
334 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
335 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
338 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
339 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
341 config SH_7206_SOLUTION_ENGINE
342 bool "SolutionEngine7206"
343 select SOLUTION_ENGINE
344 depends on CPU_SUBTYPE_SH7206
346 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
349 config SH_7619_SOLUTION_ENGINE
350 bool "SolutionEngine7619"
351 select SOLUTION_ENGINE
352 depends on CPU_SUBTYPE_SH7619
354 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
357 config SH_7722_SOLUTION_ENGINE
358 bool "SolutionEngine7722"
359 select SOLUTION_ENGINE
360 depends on CPU_SUBTYPE_SH7722
362 Select 7722 SolutionEngine if configuring for a Hitachi SH772
365 config SH_7751_SOLUTION_ENGINE
366 bool "SolutionEngine7751"
367 select SOLUTION_ENGINE
368 select CPU_HAS_IPR_IRQ
369 depends on CPU_SUBTYPE_SH7751
371 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
374 config SH_7780_SOLUTION_ENGINE
375 bool "SolutionEngine7780"
376 select SOLUTION_ENGINE
377 select SYS_SUPPORTS_PCI
378 depends on CPU_SUBTYPE_SH7780
380 Select 7780 SolutionEngine if configuring for a Renesas SH7780
383 config SH_7343_SOLUTION_ENGINE
384 bool "SolutionEngine7343"
385 select SOLUTION_ENGINE
386 depends on CPU_SUBTYPE_SH7343
388 Select 7343 SolutionEngine if configuring for a Hitachi
389 SH7343 (SH-Mobile 3AS) evaluation board.
391 config SH_7751_SYSTEMH
393 depends on CPU_SUBTYPE_SH7751R
395 Select SystemH if you are configuring for a Renesas SystemH
396 7751R evaluation board.
400 select SYS_SUPPORTS_APM_EMULATION
401 select HD6446X_SERIES
402 depends on CPU_SUBTYPE_SH7709
404 Select HP6XX if configuring for a HP jornada HP6xx.
405 More information (hardware only) at
406 <http://www.hp.com/jornada/>.
410 select SYS_SUPPORTS_PCI
411 depends on CPU_SUBTYPE_SH7091
413 Select Dreamcast if configuring for a SEGA Dreamcast.
414 More information at <http://www.linux-sh.org>
417 bool "Interface MPC1211"
418 depends on CPU_SUBTYPE_SH7751 && BROKEN
420 CTP/PCI-SH02 is a CPU module computer that is produced
421 by Interface Corporation.
422 More information at <http://www.interface.co.jp>
425 bool "Interface CTP/PCI-SH03"
426 depends on CPU_SUBTYPE_SH7751
427 select CPU_HAS_IPR_IRQ
428 select SYS_SUPPORTS_PCI
430 CTP/PCI-SH03 is a CPU module computer that is produced
431 by Interface Corporation.
432 More information at <http://www.interface.co.jp>
434 config SH_SECUREEDGE5410
435 bool "SecureEdge5410"
436 depends on CPU_SUBTYPE_SH7751R
437 select CPU_HAS_IPR_IRQ
438 select SYS_SUPPORTS_PCI
440 Select SecureEdge5410 if configuring for a SnapGear SH board.
441 This includes both the OEM SecureEdge products as well as the
445 bool "SH7710-VOIP-GW"
446 depends on CPU_SUBTYPE_SH7710
448 Select this option to build a kernel for the SH7710 based
453 depends on CPU_SUBTYPE_SH7751R
454 select SYS_SUPPORTS_PCI
456 Select RTS7751R2D if configuring for a Renesas Technology
457 Sales SH-Graphics board.
461 depends on CPU_SUBTYPE_SH7780
462 select SYS_SUPPORTS_PCI
464 Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
469 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
470 select SYS_SUPPORTS_PCI
474 depends on CPU_SUBTYPE_SH7705
476 config SH_SH4202_MICRODEV
477 bool "SH4-202 MicroDev"
478 depends on CPU_SUBTYPE_SH4_202
480 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
485 depends on CPU_SUBTYPE_SH7751R
486 select SYS_SUPPORTS_PCI
488 I-O DATA DEVICE, INC. "LANDISK Series" support.
492 depends on CPU_SUBTYPE_SH7751R
493 select CPU_HAS_IPR_IRQ
494 select SYS_SUPPORTS_PCI
496 Select Titan if you are configuring for a Nimble Microsystems
501 depends on CPU_SUBTYPE_SH7706
502 select CPU_HAS_IPR_IRQ
504 Select SHMIN if configuring for the SHMIN board.
508 depends on CPU_SUBTYPE_SH7751R
509 select SYS_SUPPORTS_PCI
511 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
514 bool "SH-X3 Prototype board"
515 depends on CPU_SUBTYPE_SHX3
517 config SH_MAGIC_PANEL_R2
518 bool "Magic Panel R2"
519 depends on CPU_SUBTYPE_SH7720
521 Select Magic Panel R2 if configuring for Magic Panel R2.
524 bool "Hitachi Cayman"
525 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
526 select SYS_SUPPORTS_PCI
530 source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
531 source "arch/sh/boards/renesas/r7780rp/Kconfig"
532 source "arch/sh/boards/renesas/sdk7780/Kconfig"
533 source "arch/sh/boards/magicpanelr2/Kconfig"
535 menu "Timer and clock configuration"
539 prompt "TMU timer support"
540 depends on CPU_SH3 || CPU_SH4
542 select GENERIC_CLOCKEVENTS
544 This enables the use of the TMU as the system timer.
548 prompt "CMT timer support"
551 This enables the use of the CMT as the system timer.
555 prompt "MTU2 timer support"
558 This enables the use of the MTU2 as the system timer.
562 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
564 default "86" if CPU_SUBTYPE_SH7619
565 default "140" if CPU_SUBTYPE_SH7206
569 int "Peripheral clock frequency (in Hz)"
570 default "27000000" if CPU_SUBTYPE_SH7343
571 default "31250000" if CPU_SUBTYPE_SH7619
572 default "32000000" if CPU_SUBTYPE_SH7722
573 default "33333333" if CPU_SUBTYPE_SH7770 || \
574 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
575 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
577 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
578 default "66000000" if CPU_SUBTYPE_SH4_202
581 This option is used to specify the peripheral clock frequency.
582 This is necessary for determining the reference clock value on
583 platforms lacking an RTC.
586 int "CPU Mode Pin Setting"
588 default 6 if CPU_SUBTYPE_SH7206
589 default 5 if CPU_SUBTYPE_SH7619
592 MD2 - MD0 pin setting.
594 source "kernel/time/Kconfig"
598 menu "CPU Frequency scaling"
600 source "drivers/cpufreq/Kconfig"
603 tristate "SuperH CPU Frequency driver"
605 select CPU_FREQ_TABLE
607 This adds the cpufreq driver for SuperH. At present, only
608 the SH-4 is supported.
610 For details, take a look at <file:Documentation/cpu-freq>.
616 source "arch/sh/drivers/Kconfig"
622 depends on SH_MPC1211
624 menu "Kernel features"
626 source kernel/Kconfig.hz
629 bool "kexec system call (EXPERIMENTAL)"
630 depends on EXPERIMENTAL
632 kexec is a system call that implements the ability to shutdown your
633 current kernel, and to start another kernel. It is like a reboot
634 but it is independent of the system firmware. And like a reboot
635 you can start any kernel with it, not just Linux.
637 The name comes from the similarity to the exec system call.
639 It is an ongoing process to be certain the hardware in a machine
640 is properly shutdown, so do not be surprised if this code does not
641 initially work for you. It may help to enable device hotplugging
642 support. As of this writing the exact hardware interface is
643 strongly in flux, so no good recommendation can be made.
646 bool "kernel crash dumps (EXPERIMENTAL)"
647 depends on EXPERIMENTAL
649 Generate crash dump after being started by kexec.
650 This should be normally only set in special crash dump kernels
651 which are loaded in the main kernel with kexec-tools into
652 a specially reserved region and then later executed after
653 a crash by kdump/kexec. The crash dump kernel must be compiled
654 to a memory address not used by the main kernel using
657 For more details see Documentation/kdump/kdump.txt
660 bool "Symmetric multi-processing support"
661 depends on SYS_SUPPORTS_SMP
663 This enables support for systems with more than one CPU. If you have
664 a system with only one CPU, like most personal computers, say N. If
665 you have a system with more than one CPU, say Y.
667 If you say N here, the kernel will run on single and multiprocessor
668 machines, but will use only one CPU of a multiprocessor machine. If
669 you say Y here, the kernel will run on many, but not all,
670 singleprocessor machines. On a singleprocessor machine, the kernel
671 will run faster if you say N here.
673 People using multiprocessor machines who say Y here should also say
674 Y to "Enhanced Real Time Clock Support", below.
676 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
677 available at <http://www.tldp.org/docs.html#howto>.
679 If you don't know what to do here, say N.
682 int "Maximum number of CPUs (2-32)"
685 default "4" if CPU_SHX3
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.
692 This is purely to save memory - each supported CPU adds
693 approximately eight kilobytes to the kernel image.
695 source "kernel/Kconfig.preempt"
699 depends on !SMP && SUPERH32
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.
705 For additional information, design information can be found
706 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
708 This should only be disabled for special cases where alternate
709 atomicity implementations exist.
712 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
713 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
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.
725 config 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
732 This sets the default offset of zero page.
734 config BOOT_LINK_OFFSET
735 hex "Link address offset for booting"
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
743 bool "Wakeup UBC on startup"
744 depends on CPU_SH4 && !CPU_SH4A
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().
754 bool "Default bootloader kernel arguments"
757 string "Initial kernel command string"
758 depends on CMDLINE_BOOL
759 default "console=ttySC1,115200"
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.
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.
774 depends on PCMCIA && HD6446X_SERIES
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.
785 The Extended Industry Standard Architecture (EISA) bus was
786 developed as an open alternative to the IBM MicroChannel bus.
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.
793 Say Y here if you are building a kernel for an EISA-based machine.
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.
809 tristate "SuperHyway Bus support"
810 depends on CPU_SUBTYPE_SH4_202
813 bool "Maple Bus support"
814 depends on SH_DREAMCAST
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
824 bool "Compact Flash Enabler support"
825 depends on SOLUTION_ENGINE || SH_SH03
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>.
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).
837 If in doubt, select 'N'.
840 prompt "Compact Flash Connection Area"
841 depends on CF_ENABLER
847 If your board has "Directly Connected" CompactFlash, You should
848 select the area where your CF is connected to.
850 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
851 - "Area6" if it is connected to Area 6 (0x18000000)
853 "Area6" will work for most boards.
862 depends on CF_ENABLER
863 default "0xb8000000" if CF_AREA6
864 default "0xb4000000" if CF_AREA5
866 source "arch/sh/drivers/pci/Kconfig"
868 source "drivers/pci/Kconfig"
870 source "drivers/pcmcia/Kconfig"
872 source "drivers/pci/hotplug/Kconfig"
876 menu "Executable file formats"
878 source "fs/Kconfig.binfmt"
882 menu "Power management options (EXPERIMENTAL)"
883 depends on EXPERIMENTAL && SYS_SUPPORTS_PM
885 config ARCH_SUSPEND_POSSIBLE
889 source kernel/power/Kconfig
895 source "drivers/Kconfig"
899 source "arch/sh/Kconfig.debug"
901 source "security/Kconfig"
903 source "crypto/Kconfig"