2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux/SuperH Kernel Configuration"
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/>.
23 config RWSEM_GENERIC_SPINLOCK
27 config RWSEM_XCHGADD_ALGORITHM
32 depends on BUG && SUPERH32
34 config GENERIC_FIND_NEXT_BIT
38 config GENERIC_HWEIGHT
42 config GENERIC_HARDIRQS
46 config GENERIC_IRQ_PROBE
50 config GENERIC_CALIBRATE_DELAY
60 config GENERIC_CLOCKEVENTS
63 config SYS_SUPPORTS_PM
66 config SYS_SUPPORTS_APM_EMULATION
68 select SYS_SUPPORTS_PM
70 config SYS_SUPPORTS_SMP
73 config SYS_SUPPORTS_NUMA
76 config SYS_SUPPORTS_PCI
79 config ARCH_MAY_HAVE_PC_FDC
82 config STACKTRACE_SUPPORT
86 config LOCKDEP_SUPPORT
90 config ARCH_HAS_ILOG2_U32
94 config ARCH_HAS_ILOG2_U64
98 config ARCH_NO_VIRT_TO_BUS
101 source "init/Kconfig"
117 select CPU_HAS_INTEVT
122 select CPU_HAS_INTEVT
124 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
125 select CPU_HAS_FPU if !CPU_SH4AL_DSP
147 prompt "Processor sub-type selection"
153 # SH-2 Processor Support
155 config CPU_SUBTYPE_SH7619
156 bool "Support SH7619 processor"
159 # SH-2A Processor Support
161 config CPU_SUBTYPE_SH7203
162 bool "Support SH7203 processor"
166 config CPU_SUBTYPE_SH7206
167 bool "Support SH7206 processor"
170 config CPU_SUBTYPE_SH7263
171 bool "Support SH7263 processor"
175 # SH-3 Processor Support
177 config CPU_SUBTYPE_SH7705
178 bool "Support SH7705 processor"
181 config CPU_SUBTYPE_SH7706
182 bool "Support SH7706 processor"
185 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
187 config CPU_SUBTYPE_SH7707
188 bool "Support SH7707 processor"
191 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
193 config CPU_SUBTYPE_SH7708
194 bool "Support SH7708 processor"
197 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
198 if you have a 100 Mhz SH-3 HD6417708R CPU.
200 config CPU_SUBTYPE_SH7709
201 bool "Support SH7709 processor"
204 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
206 config CPU_SUBTYPE_SH7710
207 bool "Support SH7710 processor"
211 Select SH7710 if you have a SH3-DSP SH7710 CPU.
213 config CPU_SUBTYPE_SH7712
214 bool "Support SH7712 processor"
218 Select SH7712 if you have a SH3-DSP SH7712 CPU.
220 config CPU_SUBTYPE_SH7720
221 bool "Support SH7720 processor"
225 Select SH7720 if you have a SH3-DSP SH7720 CPU.
227 # SH-4 Processor Support
229 config CPU_SUBTYPE_SH7750
230 bool "Support SH7750 processor"
233 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
235 config CPU_SUBTYPE_SH7091
236 bool "Support SH7091 processor"
239 Select SH7091 if you have an SH-4 based Sega device (such as
240 the Dreamcast, Naomi, and Naomi 2).
242 config CPU_SUBTYPE_SH7750R
243 bool "Support SH7750R processor"
246 config CPU_SUBTYPE_SH7750S
247 bool "Support SH7750S processor"
250 config CPU_SUBTYPE_SH7751
251 bool "Support SH7751 processor"
254 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
255 or if you have a HD6417751R CPU.
257 config CPU_SUBTYPE_SH7751R
258 bool "Support SH7751R processor"
261 config CPU_SUBTYPE_SH7760
262 bool "Support SH7760 processor"
265 config CPU_SUBTYPE_SH4_202
266 bool "Support SH4-202 processor"
269 # SH-4A Processor Support
271 config CPU_SUBTYPE_SH7770
272 bool "Support SH7770 processor"
275 config CPU_SUBTYPE_SH7780
276 bool "Support SH7780 processor"
279 config CPU_SUBTYPE_SH7785
280 bool "Support SH7785 processor"
283 select ARCH_SPARSEMEM_ENABLE
284 select SYS_SUPPORTS_NUMA
286 config CPU_SUBTYPE_SHX3
287 bool "Support SH-X3 processor"
290 select ARCH_SPARSEMEM_ENABLE
291 select SYS_SUPPORTS_NUMA
292 select SYS_SUPPORTS_SMP
294 # SH4AL-DSP Processor Support
296 config CPU_SUBTYPE_SH7343
297 bool "Support SH7343 processor"
300 config CPU_SUBTYPE_SH7722
301 bool "Support SH7722 processor"
304 select ARCH_SPARSEMEM_ENABLE
305 select SYS_SUPPORTS_NUMA
307 # SH-5 Processor Support
309 config CPU_SUBTYPE_SH5_101
310 bool "Support SH5-101 processor"
313 config CPU_SUBTYPE_SH5_103
314 bool "Support SH5-103 processor"
318 source "arch/sh/mm/Kconfig"
319 source "arch/sh/Kconfig.cpu"
323 config SOLUTION_ENGINE
326 config SH_SOLUTION_ENGINE
327 bool "SolutionEngine"
328 select SOLUTION_ENGINE
329 select CPU_HAS_IPR_IRQ
330 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
331 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
334 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
335 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
337 config SH_7206_SOLUTION_ENGINE
338 bool "SolutionEngine7206"
339 select SOLUTION_ENGINE
340 depends on CPU_SUBTYPE_SH7206
342 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
345 config SH_7619_SOLUTION_ENGINE
346 bool "SolutionEngine7619"
347 select SOLUTION_ENGINE
348 depends on CPU_SUBTYPE_SH7619
350 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
353 config SH_7722_SOLUTION_ENGINE
354 bool "SolutionEngine7722"
355 select SOLUTION_ENGINE
356 depends on CPU_SUBTYPE_SH7722
358 Select 7722 SolutionEngine if configuring for a Hitachi SH772
361 config SH_7751_SOLUTION_ENGINE
362 bool "SolutionEngine7751"
363 select SOLUTION_ENGINE
364 select CPU_HAS_IPR_IRQ
365 depends on CPU_SUBTYPE_SH7751
367 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
370 config SH_7780_SOLUTION_ENGINE
371 bool "SolutionEngine7780"
372 select SOLUTION_ENGINE
373 select SYS_SUPPORTS_PCI
374 depends on CPU_SUBTYPE_SH7780
376 Select 7780 SolutionEngine if configuring for a Renesas SH7780
379 config SH_7343_SOLUTION_ENGINE
380 bool "SolutionEngine7343"
381 select SOLUTION_ENGINE
382 depends on CPU_SUBTYPE_SH7343
384 Select 7343 SolutionEngine if configuring for a Hitachi
385 SH7343 (SH-Mobile 3AS) evaluation board.
387 config SH_7751_SYSTEMH
389 depends on CPU_SUBTYPE_SH7751R
391 Select SystemH if you are configuring for a Renesas SystemH
392 7751R evaluation board.
396 select SYS_SUPPORTS_APM_EMULATION
397 select HD6446X_SERIES
398 depends on CPU_SUBTYPE_SH7709
400 Select HP6XX if configuring for a HP jornada HP6xx.
401 More information (hardware only) at
402 <http://www.hp.com/jornada/>.
406 select SYS_SUPPORTS_PCI
407 depends on CPU_SUBTYPE_SH7091
409 Select Dreamcast if configuring for a SEGA Dreamcast.
410 More information at <http://www.linux-sh.org>
413 bool "Interface MPC1211"
414 depends on CPU_SUBTYPE_SH7751 && BROKEN
416 CTP/PCI-SH02 is a CPU module computer that is produced
417 by Interface Corporation.
418 More information at <http://www.interface.co.jp>
421 bool "Interface CTP/PCI-SH03"
422 depends on CPU_SUBTYPE_SH7751
423 select CPU_HAS_IPR_IRQ
424 select SYS_SUPPORTS_PCI
426 CTP/PCI-SH03 is a CPU module computer that is produced
427 by Interface Corporation.
428 More information at <http://www.interface.co.jp>
430 config SH_SECUREEDGE5410
431 bool "SecureEdge5410"
432 depends on CPU_SUBTYPE_SH7751R
433 select CPU_HAS_IPR_IRQ
434 select SYS_SUPPORTS_PCI
436 Select SecureEdge5410 if configuring for a SnapGear SH board.
437 This includes both the OEM SecureEdge products as well as the
440 config SH_HS7751RVOIP
442 depends on CPU_SUBTYPE_SH7751R
444 Select HS7751RVOIP if configuring for a Renesas Technology
448 bool "SH7710-VOIP-GW"
449 depends on CPU_SUBTYPE_SH7710
451 Select this option to build a kernel for the SH7710 based
456 depends on CPU_SUBTYPE_SH7751R
457 select SYS_SUPPORTS_PCI
459 Select RTS7751R2D if configuring for a Renesas Technology
460 Sales SH-Graphics board.
464 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
465 select SYS_SUPPORTS_PCI
469 depends on CPU_SUBTYPE_SH7705
471 config SH_SH4202_MICRODEV
472 bool "SH4-202 MicroDev"
473 depends on CPU_SUBTYPE_SH4_202
475 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
480 depends on CPU_SUBTYPE_SH7751R
481 select SYS_SUPPORTS_PCI
483 I-O DATA DEVICE, INC. "LANDISK Series" support.
487 depends on CPU_SUBTYPE_SH7751R
488 select CPU_HAS_IPR_IRQ
489 select SYS_SUPPORTS_PCI
491 Select Titan if you are configuring for a Nimble Microsystems
496 depends on CPU_SUBTYPE_SH7706
497 select CPU_HAS_IPR_IRQ
499 Select SHMIN if configuring for the SHMIN board.
503 depends on CPU_SUBTYPE_SH7751R
504 select SYS_SUPPORTS_PCI
506 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
509 bool "SH-X3 Prototype board"
510 depends on CPU_SUBTYPE_SHX3
512 config SH_MAGIC_PANEL_R2
513 bool "Magic Panel R2"
514 depends on CPU_SUBTYPE_SH7720
516 Select Magic Panel R2 if configuring for Magic Panel R2.
519 bool "Hitachi Cayman"
520 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
521 select SYS_SUPPORTS_PCI
525 source "arch/sh/boards/renesas/hs7751rvoip/Kconfig"
526 source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
527 source "arch/sh/boards/renesas/r7780rp/Kconfig"
528 source "arch/sh/boards/magicpanelr2/Kconfig"
530 menu "Timer and clock configuration"
533 bool "TMU timer support"
534 depends on CPU_SH3 || CPU_SH4
536 select GENERIC_CLOCKEVENTS
539 This enables the use of the TMU as the system timer.
542 bool "CMT timer support"
546 This enables the use of the CMT as the system timer.
549 bool "MTU2 timer support"
553 This enables the use of the MTU2 as the system timer.
557 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
558 default "86" if CPU_SUBTYPE_SH7619
559 default "140" if CPU_SUBTYPE_SH7206
563 int "Peripheral clock frequency (in Hz)"
564 default "27000000" if CPU_SUBTYPE_SH7343
565 default "31250000" if CPU_SUBTYPE_SH7619
566 default "32000000" if CPU_SUBTYPE_SH7722
567 default "33333333" if CPU_SUBTYPE_SH7770 || \
568 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
569 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
571 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
572 default "66000000" if CPU_SUBTYPE_SH4_202
575 This option is used to specify the peripheral clock frequency.
576 This is necessary for determining the reference clock value on
577 platforms lacking an RTC.
580 int "CPU Mode Pin Setting"
582 default 6 if CPU_SUBTYPE_SH7206
583 default 5 if CPU_SUBTYPE_SH7619
586 MD2 - MD0 pin setting.
588 source "kernel/time/Kconfig"
592 menu "CPU Frequency scaling"
594 source "drivers/cpufreq/Kconfig"
597 tristate "SuperH CPU Frequency driver"
599 select CPU_FREQ_TABLE
601 This adds the cpufreq driver for SuperH. At present, only
602 the SH-4 is supported.
604 For details, take a look at <file:Documentation/cpu-freq>.
610 source "arch/sh/drivers/Kconfig"
616 depends on SH_MPC1211
619 menu "Kernel features"
621 source kernel/Kconfig.hz
624 bool "kexec system call (EXPERIMENTAL)"
625 depends on EXPERIMENTAL
627 kexec is a system call that implements the ability to shutdown your
628 current kernel, and to start another kernel. It is like a reboot
629 but it is independent of the system firmware. And like a reboot
630 you can start any kernel with it, not just Linux.
632 The name comes from the similarity to the exec system call.
634 It is an ongoing process to be certain the hardware in a machine
635 is properly shutdown, so do not be surprised if this code does not
636 initially work for you. It may help to enable device hotplugging
637 support. As of this writing the exact hardware interface is
638 strongly in flux, so no good recommendation can be made.
641 bool "kernel crash dumps (EXPERIMENTAL)"
642 depends on EXPERIMENTAL
644 Generate crash dump after being started by kexec.
645 This should be normally only set in special crash dump kernels
646 which are loaded in the main kernel with kexec-tools into
647 a specially reserved region and then later executed after
648 a crash by kdump/kexec. The crash dump kernel must be compiled
649 to a memory address not used by the main kernel using
652 For more details see Documentation/kdump/kdump.txt
655 bool "Symmetric multi-processing support"
656 depends on SYS_SUPPORTS_SMP
658 This enables support for systems with more than one CPU. If you have
659 a system with only one CPU, like most personal computers, say N. If
660 you have a system with more than one CPU, say Y.
662 If you say N here, the kernel will run on single and multiprocessor
663 machines, but will use only one CPU of a multiprocessor machine. If
664 you say Y here, the kernel will run on many, but not all,
665 singleprocessor machines. On a singleprocessor machine, the kernel
666 will run faster if you say N here.
668 People using multiprocessor machines who say Y here should also say
669 Y to "Enhanced Real Time Clock Support", below.
671 See also the <file:Documentation/smp.txt>,
672 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
673 at <http://www.tldp.org/docs.html#howto>.
675 If you don't know what to do here, say N.
678 int "Maximum number of CPUs (2-32)"
681 default "4" if CPU_SHX3
684 This allows you to specify the maximum number of CPUs which this
685 kernel will support. The maximum supported value is 32 and the
686 minimum value which makes sense is 2.
688 This is purely to save memory - each supported CPU adds
689 approximately eight kilobytes to the kernel image.
691 source "kernel/Kconfig.preempt"
697 This enables support for gUSA (general UserSpace Atomicity).
698 This is the default implementation for both UP and non-ll/sc
699 CPUs, and is used by the libc, amongst others.
701 For additional information, design information can be found
702 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
704 This should only be disabled for special cases where alternate
705 atomicity implementations exist.
711 config ZERO_PAGE_OFFSET
712 hex "Zero page offset"
713 default "0x00004000" if SH_MPC1211 || SH_SH03
714 default "0x00010000" if PAGE_SIZE_64KB
715 default "0x00002000" if PAGE_SIZE_8KB
718 This sets the default offset of zero page.
720 config BOOT_LINK_OFFSET
721 hex "Link address offset for booting"
724 This option allows you to set the link address offset of the zImage.
725 This can be useful if you are on a board which has a small amount of
729 bool "Wakeup UBC on startup"
730 depends on CPU_SH4 && !CPU_SH4A
732 Selecting this option will wakeup the User Break Controller (UBC) on
733 startup. Although the UBC is left in an awake state when the processor
734 comes up, some boot loaders misbehave by putting the UBC to sleep in a
735 power saving state, which causes issues with things like ptrace().
740 bool "Default bootloader kernel arguments"
743 string "Initial kernel command string"
744 depends on CMDLINE_BOOL
745 default "console=ttySC1,115200"
751 # Even on SuperH devices which don't have an ISA bus,
752 # this variable helps the PCMCIA modules handle
753 # IRQ requesting properly -- Greg Banks.
755 # Though we're generally not interested in it when
756 # we're not using PCMCIA, so we make it dependent on
757 # PCMCIA outright. -- PFM.
760 depends on PCMCIA && HD6446X_SERIES
762 Find out whether you have ISA slots on your motherboard. ISA is the
763 name of a bus system, i.e. the way the CPU talks to the other stuff
764 inside your box. Other bus systems are PCI, EISA, MicroChannel
765 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
766 newer boards don't support it. If you have ISA, say Y, otherwise N.
771 The Extended Industry Standard Architecture (EISA) bus was
772 developed as an open alternative to the IBM MicroChannel bus.
774 The EISA bus provided some of the features of the IBM MicroChannel
775 bus while maintaining backward compatibility with cards made for
776 the older ISA bus. The EISA bus saw limited use between 1988 and
777 1995 when it was made obsolete by the PCI bus.
779 Say Y here if you are building a kernel for an EISA-based machine.
786 MicroChannel Architecture is found in some IBM PS/2 machines and
787 laptops. It is a bus system similar to PCI or ISA. See
788 <file:Documentation/mca.txt> (and especially the web page given
789 there) before attempting to build an MCA bus kernel.
795 tristate "SuperHyway Bus support"
796 depends on CPU_SUBTYPE_SH4_202
799 bool "Maple Bus support"
800 depends on SH_DREAMCAST
802 The Maple Bus is SEGA's serial communication bus for peripherals
803 on the Dreamcast. Without this bus support you won't be able to
804 get your Dreamcast keyboard etc to work, so most users
805 probably want to say 'Y' here, unless you are only using the
806 Dreamcast with a serial line terminal or a remote network
810 bool "Compact Flash Enabler support"
811 depends on SOLUTION_ENGINE || SH_SH03
813 Compact Flash is a small, removable mass storage device introduced
814 in 1994 originally as a PCMCIA device. If you say `Y' here, you
815 compile in support for Compact Flash devices directly connected to
816 a SuperH processor. A Compact Flash FAQ is available at
817 <http://www.compactflash.org/faqs/faq.htm>.
819 If your board has "Directly Connected" CompactFlash at area 5 or 6,
820 you may want to enable this option. Then, you can use CF as
821 primary IDE drive (only tested for SanDisk).
823 If in doubt, select 'N'.
826 prompt "Compact Flash Connection Area"
827 depends on CF_ENABLER
833 If your board has "Directly Connected" CompactFlash, You should
834 select the area where your CF is connected to.
836 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
837 - "Area6" if it is connected to Area 6 (0x18000000)
839 "Area6" will work for most boards.
848 depends on CF_ENABLER
849 default "0xb8000000" if CF_AREA6
850 default "0xb4000000" if CF_AREA5
852 source "arch/sh/drivers/pci/Kconfig"
854 source "drivers/pci/Kconfig"
856 source "drivers/pcmcia/Kconfig"
858 source "drivers/pci/hotplug/Kconfig"
862 menu "Executable file formats"
864 source "fs/Kconfig.binfmt"
868 menu "Power management options (EXPERIMENTAL)"
869 depends on EXPERIMENTAL && SYS_SUPPORTS_PM
871 source kernel/power/Kconfig
877 source "drivers/Kconfig"
881 source "kernel/Kconfig.instrumentation"
883 source "arch/sh/Kconfig.debug"
885 source "security/Kconfig"
887 source "crypto/Kconfig"