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_SH7206
162 bool "Support SH7206 processor"
165 # SH-3 Processor Support
167 config CPU_SUBTYPE_SH7705
168 bool "Support SH7705 processor"
171 config CPU_SUBTYPE_SH7706
172 bool "Support SH7706 processor"
175 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
177 config CPU_SUBTYPE_SH7707
178 bool "Support SH7707 processor"
181 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
183 config CPU_SUBTYPE_SH7708
184 bool "Support SH7708 processor"
187 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
188 if you have a 100 Mhz SH-3 HD6417708R CPU.
190 config CPU_SUBTYPE_SH7709
191 bool "Support SH7709 processor"
194 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
196 config CPU_SUBTYPE_SH7710
197 bool "Support SH7710 processor"
201 Select SH7710 if you have a SH3-DSP SH7710 CPU.
203 config CPU_SUBTYPE_SH7712
204 bool "Support SH7712 processor"
208 Select SH7712 if you have a SH3-DSP SH7712 CPU.
210 config CPU_SUBTYPE_SH7720
211 bool "Support SH7720 processor"
215 Select SH7720 if you have a SH3-DSP SH7720 CPU.
217 # SH-4 Processor Support
219 config CPU_SUBTYPE_SH7750
220 bool "Support SH7750 processor"
223 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
225 config CPU_SUBTYPE_SH7091
226 bool "Support SH7091 processor"
229 Select SH7091 if you have an SH-4 based Sega device (such as
230 the Dreamcast, Naomi, and Naomi 2).
232 config CPU_SUBTYPE_SH7750R
233 bool "Support SH7750R processor"
236 config CPU_SUBTYPE_SH7750S
237 bool "Support SH7750S processor"
240 config CPU_SUBTYPE_SH7751
241 bool "Support SH7751 processor"
244 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
245 or if you have a HD6417751R CPU.
247 config CPU_SUBTYPE_SH7751R
248 bool "Support SH7751R processor"
251 config CPU_SUBTYPE_SH7760
252 bool "Support SH7760 processor"
255 config CPU_SUBTYPE_SH4_202
256 bool "Support SH4-202 processor"
259 # SH-4A Processor Support
261 config CPU_SUBTYPE_SH7770
262 bool "Support SH7770 processor"
265 config CPU_SUBTYPE_SH7780
266 bool "Support SH7780 processor"
269 config CPU_SUBTYPE_SH7785
270 bool "Support SH7785 processor"
273 select ARCH_SPARSEMEM_ENABLE
274 select SYS_SUPPORTS_NUMA
276 config CPU_SUBTYPE_SHX3
277 bool "Support SH-X3 processor"
280 select ARCH_SPARSEMEM_ENABLE
281 select SYS_SUPPORTS_NUMA
282 select SYS_SUPPORTS_SMP
284 # SH4AL-DSP Processor Support
286 config CPU_SUBTYPE_SH7343
287 bool "Support SH7343 processor"
290 config CPU_SUBTYPE_SH7722
291 bool "Support SH7722 processor"
294 select ARCH_SPARSEMEM_ENABLE
295 select SYS_SUPPORTS_NUMA
297 # SH-5 Processor Support
299 config CPU_SUBTYPE_SH5_101
300 bool "Support SH5-101 processor"
303 config CPU_SUBTYPE_SH5_103
304 bool "Support SH5-103 processor"
308 source "arch/sh/mm/Kconfig"
309 source "arch/sh/Kconfig.cpu"
313 config SOLUTION_ENGINE
316 config SH_SOLUTION_ENGINE
317 bool "SolutionEngine"
318 select SOLUTION_ENGINE
319 select CPU_HAS_IPR_IRQ
320 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
321 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
324 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
325 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
327 config SH_7206_SOLUTION_ENGINE
328 bool "SolutionEngine7206"
329 select SOLUTION_ENGINE
330 depends on CPU_SUBTYPE_SH7206
332 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
335 config SH_7619_SOLUTION_ENGINE
336 bool "SolutionEngine7619"
337 select SOLUTION_ENGINE
338 depends on CPU_SUBTYPE_SH7619
340 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
343 config SH_7722_SOLUTION_ENGINE
344 bool "SolutionEngine7722"
345 select SOLUTION_ENGINE
346 depends on CPU_SUBTYPE_SH7722
348 Select 7722 SolutionEngine if configuring for a Hitachi SH772
351 config SH_7751_SOLUTION_ENGINE
352 bool "SolutionEngine7751"
353 select SOLUTION_ENGINE
354 select CPU_HAS_IPR_IRQ
355 depends on CPU_SUBTYPE_SH7751
357 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
360 config SH_7780_SOLUTION_ENGINE
361 bool "SolutionEngine7780"
362 select SOLUTION_ENGINE
363 select SYS_SUPPORTS_PCI
364 depends on CPU_SUBTYPE_SH7780
366 Select 7780 SolutionEngine if configuring for a Renesas SH7780
369 config SH_7343_SOLUTION_ENGINE
370 bool "SolutionEngine7343"
371 select SOLUTION_ENGINE
372 depends on CPU_SUBTYPE_SH7343
374 Select 7343 SolutionEngine if configuring for a Hitachi
375 SH7343 (SH-Mobile 3AS) evaluation board.
377 config SH_7751_SYSTEMH
379 depends on CPU_SUBTYPE_SH7751R
381 Select SystemH if you are configuring for a Renesas SystemH
382 7751R evaluation board.
386 select SYS_SUPPORTS_APM_EMULATION
387 select HD6446X_SERIES
388 depends on CPU_SUBTYPE_SH7709
390 Select HP6XX if configuring for a HP jornada HP6xx.
391 More information (hardware only) at
392 <http://www.hp.com/jornada/>.
396 select SYS_SUPPORTS_PCI
397 depends on CPU_SUBTYPE_SH7091
399 Select Dreamcast if configuring for a SEGA Dreamcast.
400 More information at <http://www.linux-sh.org>
403 bool "Interface MPC1211"
404 depends on CPU_SUBTYPE_SH7751 && BROKEN
406 CTP/PCI-SH02 is a CPU module computer that is produced
407 by Interface Corporation.
408 More information at <http://www.interface.co.jp>
411 bool "Interface CTP/PCI-SH03"
412 depends on CPU_SUBTYPE_SH7751
413 select CPU_HAS_IPR_IRQ
414 select SYS_SUPPORTS_PCI
416 CTP/PCI-SH03 is a CPU module computer that is produced
417 by Interface Corporation.
418 More information at <http://www.interface.co.jp>
420 config SH_SECUREEDGE5410
421 bool "SecureEdge5410"
422 depends on CPU_SUBTYPE_SH7751R
423 select CPU_HAS_IPR_IRQ
424 select SYS_SUPPORTS_PCI
426 Select SecureEdge5410 if configuring for a SnapGear SH board.
427 This includes both the OEM SecureEdge products as well as the
430 config SH_HS7751RVOIP
432 depends on CPU_SUBTYPE_SH7751R
434 Select HS7751RVOIP if configuring for a Renesas Technology
438 bool "SH7710-VOIP-GW"
439 depends on CPU_SUBTYPE_SH7710
441 Select this option to build a kernel for the SH7710 based
446 depends on CPU_SUBTYPE_SH7751R
447 select SYS_SUPPORTS_PCI
449 Select RTS7751R2D if configuring for a Renesas Technology
450 Sales SH-Graphics board.
454 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
455 select SYS_SUPPORTS_PCI
459 depends on CPU_SUBTYPE_SH7705
461 config SH_SH4202_MICRODEV
462 bool "SH4-202 MicroDev"
463 depends on CPU_SUBTYPE_SH4_202
465 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
470 depends on CPU_SUBTYPE_SH7751R
471 select SYS_SUPPORTS_PCI
473 I-O DATA DEVICE, INC. "LANDISK Series" support.
477 depends on CPU_SUBTYPE_SH7751R
478 select CPU_HAS_IPR_IRQ
479 select SYS_SUPPORTS_PCI
481 Select Titan if you are configuring for a Nimble Microsystems
486 depends on CPU_SUBTYPE_SH7706
487 select CPU_HAS_IPR_IRQ
489 Select SHMIN if configuring for the SHMIN board.
493 depends on CPU_SUBTYPE_SH7751R
494 select SYS_SUPPORTS_PCI
496 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
499 bool "SH-X3 Prototype board"
500 depends on CPU_SUBTYPE_SHX3
502 config SH_MAGIC_PANEL_R2
503 bool "Magic Panel R2"
504 depends on CPU_SUBTYPE_SH7720
506 Select Magic Panel R2 if configuring for Magic Panel R2.
509 bool "Hitachi Cayman"
510 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
511 select SYS_SUPPORTS_PCI
515 source "arch/sh/boards/renesas/hs7751rvoip/Kconfig"
516 source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
517 source "arch/sh/boards/renesas/r7780rp/Kconfig"
518 source "arch/sh/boards/magicpanelr2/Kconfig"
520 menu "Timer and clock configuration"
523 bool "TMU timer support"
524 depends on CPU_SH3 || CPU_SH4
526 select GENERIC_CLOCKEVENTS
529 This enables the use of the TMU as the system timer.
532 bool "CMT timer support"
536 This enables the use of the CMT as the system timer.
539 bool "MTU2 timer support"
543 This enables the use of the MTU2 as the system timer.
547 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
548 default "86" if CPU_SUBTYPE_SH7619
549 default "140" if CPU_SUBTYPE_SH7206
553 int "Peripheral clock frequency (in Hz)"
554 default "27000000" if CPU_SUBTYPE_SH7343
555 default "31250000" if CPU_SUBTYPE_SH7619
556 default "32000000" if CPU_SUBTYPE_SH7722
557 default "33333333" if CPU_SUBTYPE_SH7770 || \
558 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
560 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
561 default "66000000" if CPU_SUBTYPE_SH4_202
564 This option is used to specify the peripheral clock frequency.
565 This is necessary for determining the reference clock value on
566 platforms lacking an RTC.
569 int "CPU Mode Pin Setting"
570 depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206
571 default 6 if CPU_SUBTYPE_SH7206
572 default 5 if CPU_SUBTYPE_SH7619
575 MD2 - MD0 pin setting.
577 source "kernel/time/Kconfig"
581 menu "CPU Frequency scaling"
583 source "drivers/cpufreq/Kconfig"
586 tristate "SuperH CPU Frequency driver"
588 select CPU_FREQ_TABLE
590 This adds the cpufreq driver for SuperH. At present, only
591 the SH-4 is supported.
593 For details, take a look at <file:Documentation/cpu-freq>.
599 source "arch/sh/drivers/Kconfig"
605 depends on SH_MPC1211
608 menu "Kernel features"
610 source kernel/Kconfig.hz
613 bool "kexec system call (EXPERIMENTAL)"
614 depends on EXPERIMENTAL
616 kexec is a system call that implements the ability to shutdown your
617 current kernel, and to start another kernel. It is like a reboot
618 but it is independent of the system firmware. And like a reboot
619 you can start any kernel with it, not just Linux.
621 The name comes from the similarity to the exec system call.
623 It is an ongoing process to be certain the hardware in a machine
624 is properly shutdown, so do not be surprised if this code does not
625 initially work for you. It may help to enable device hotplugging
626 support. As of this writing the exact hardware interface is
627 strongly in flux, so no good recommendation can be made.
630 bool "kernel crash dumps (EXPERIMENTAL)"
631 depends on EXPERIMENTAL
633 Generate crash dump after being started by kexec.
634 This should be normally only set in special crash dump kernels
635 which are loaded in the main kernel with kexec-tools into
636 a specially reserved region and then later executed after
637 a crash by kdump/kexec. The crash dump kernel must be compiled
638 to a memory address not used by the main kernel using
641 For more details see Documentation/kdump/kdump.txt
644 bool "Symmetric multi-processing support"
645 depends on SYS_SUPPORTS_SMP
647 This enables support for systems with more than one CPU. If you have
648 a system with only one CPU, like most personal computers, say N. If
649 you have a system with more than one CPU, say Y.
651 If you say N here, the kernel will run on single and multiprocessor
652 machines, but will use only one CPU of a multiprocessor machine. If
653 you say Y here, the kernel will run on many, but not all,
654 singleprocessor machines. On a singleprocessor machine, the kernel
655 will run faster if you say N here.
657 People using multiprocessor machines who say Y here should also say
658 Y to "Enhanced Real Time Clock Support", below.
660 See also the <file:Documentation/smp.txt>,
661 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
662 at <http://www.tldp.org/docs.html#howto>.
664 If you don't know what to do here, say N.
667 int "Maximum number of CPUs (2-32)"
670 default "4" if CPU_SHX3
673 This allows you to specify the maximum number of CPUs which this
674 kernel will support. The maximum supported value is 32 and the
675 minimum value which makes sense is 2.
677 This is purely to save memory - each supported CPU adds
678 approximately eight kilobytes to the kernel image.
680 source "kernel/Kconfig.preempt"
686 This enables support for gUSA (general UserSpace Atomicity).
687 This is the default implementation for both UP and non-ll/sc
688 CPUs, and is used by the libc, amongst others.
690 For additional information, design information can be found
691 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
693 This should only be disabled for special cases where alternate
694 atomicity implementations exist.
700 config ZERO_PAGE_OFFSET
701 hex "Zero page offset"
702 default "0x00004000" if SH_MPC1211 || SH_SH03
703 default "0x00010000" if PAGE_SIZE_64KB
704 default "0x00002000" if PAGE_SIZE_8KB
707 This sets the default offset of zero page.
709 config BOOT_LINK_OFFSET
710 hex "Link address offset for booting"
713 This option allows you to set the link address offset of the zImage.
714 This can be useful if you are on a board which has a small amount of
718 bool "Wakeup UBC on startup"
719 depends on CPU_SH4 && !CPU_SH4A
721 Selecting this option will wakeup the User Break Controller (UBC) on
722 startup. Although the UBC is left in an awake state when the processor
723 comes up, some boot loaders misbehave by putting the UBC to sleep in a
724 power saving state, which causes issues with things like ptrace().
729 bool "Default bootloader kernel arguments"
732 string "Initial kernel command string"
733 depends on CMDLINE_BOOL
734 default "console=ttySC1,115200"
740 # Even on SuperH devices which don't have an ISA bus,
741 # this variable helps the PCMCIA modules handle
742 # IRQ requesting properly -- Greg Banks.
744 # Though we're generally not interested in it when
745 # we're not using PCMCIA, so we make it dependent on
746 # PCMCIA outright. -- PFM.
749 depends on PCMCIA && HD6446X_SERIES
751 Find out whether you have ISA slots on your motherboard. ISA is the
752 name of a bus system, i.e. the way the CPU talks to the other stuff
753 inside your box. Other bus systems are PCI, EISA, MicroChannel
754 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
755 newer boards don't support it. If you have ISA, say Y, otherwise N.
760 The Extended Industry Standard Architecture (EISA) bus was
761 developed as an open alternative to the IBM MicroChannel bus.
763 The EISA bus provided some of the features of the IBM MicroChannel
764 bus while maintaining backward compatibility with cards made for
765 the older ISA bus. The EISA bus saw limited use between 1988 and
766 1995 when it was made obsolete by the PCI bus.
768 Say Y here if you are building a kernel for an EISA-based machine.
775 MicroChannel Architecture is found in some IBM PS/2 machines and
776 laptops. It is a bus system similar to PCI or ISA. See
777 <file:Documentation/mca.txt> (and especially the web page given
778 there) before attempting to build an MCA bus kernel.
784 tristate "SuperHyway Bus support"
785 depends on CPU_SUBTYPE_SH4_202
788 bool "Maple Bus support"
789 depends on SH_DREAMCAST
791 The Maple Bus is SEGA's serial communication bus for peripherals
792 on the Dreamcast. Without this bus support you won't be able to
793 get your Dreamcast keyboard etc to work, so most users
794 probably want to say 'Y' here, unless you are only using the
795 Dreamcast with a serial line terminal or a remote network
799 bool "Compact Flash Enabler support"
800 depends on SOLUTION_ENGINE || SH_SH03
802 Compact Flash is a small, removable mass storage device introduced
803 in 1994 originally as a PCMCIA device. If you say `Y' here, you
804 compile in support for Compact Flash devices directly connected to
805 a SuperH processor. A Compact Flash FAQ is available at
806 <http://www.compactflash.org/faqs/faq.htm>.
808 If your board has "Directly Connected" CompactFlash at area 5 or 6,
809 you may want to enable this option. Then, you can use CF as
810 primary IDE drive (only tested for SanDisk).
812 If in doubt, select 'N'.
815 prompt "Compact Flash Connection Area"
816 depends on CF_ENABLER
822 If your board has "Directly Connected" CompactFlash, You should
823 select the area where your CF is connected to.
825 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
826 - "Area6" if it is connected to Area 6 (0x18000000)
828 "Area6" will work for most boards.
837 depends on CF_ENABLER
838 default "0xb8000000" if CF_AREA6
839 default "0xb4000000" if CF_AREA5
841 source "arch/sh/drivers/pci/Kconfig"
843 source "drivers/pci/Kconfig"
845 source "drivers/pcmcia/Kconfig"
847 source "drivers/pci/hotplug/Kconfig"
851 menu "Executable file formats"
853 source "fs/Kconfig.binfmt"
857 menu "Power management options (EXPERIMENTAL)"
858 depends on EXPERIMENTAL && SYS_SUPPORTS_PM
860 source kernel/power/Kconfig
866 source "drivers/Kconfig"
870 source "kernel/Kconfig.instrumentation"
872 source "arch/sh/Kconfig.debug"
874 source "security/Kconfig"
876 source "crypto/Kconfig"