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
30 config RWSEM_XCHGADD_ALGORITHM
35 depends on BUG && SUPERH32
37 config GENERIC_FIND_NEXT_BIT
41 config GENERIC_HWEIGHT
45 config GENERIC_HARDIRQS
49 config GENERIC_IRQ_PROBE
53 config GENERIC_CALIBRATE_DELAY
63 config GENERIC_CLOCKEVENTS
66 config SYS_SUPPORTS_PM
69 config SYS_SUPPORTS_APM_EMULATION
71 select SYS_SUPPORTS_PM
73 config SYS_SUPPORTS_SMP
76 config SYS_SUPPORTS_NUMA
79 config SYS_SUPPORTS_PCI
82 config ARCH_MAY_HAVE_PC_FDC
85 config STACKTRACE_SUPPORT
89 config LOCKDEP_SUPPORT
93 config ARCH_HAS_ILOG2_U32
97 config ARCH_HAS_ILOG2_U64
101 config ARCH_NO_VIRT_TO_BUS
104 source "init/Kconfig"
120 select CPU_HAS_INTEVT
125 select CPU_HAS_INTEVT
127 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
128 select CPU_HAS_FPU if !CPU_SH4AL_DSP
150 prompt "Processor sub-type selection"
156 # SH-2 Processor Support
158 config CPU_SUBTYPE_SH7619
159 bool "Support SH7619 processor"
162 # SH-2A Processor Support
164 config CPU_SUBTYPE_SH7206
165 bool "Support SH7206 processor"
168 # SH-3 Processor Support
170 config CPU_SUBTYPE_SH7705
171 bool "Support SH7705 processor"
174 config CPU_SUBTYPE_SH7706
175 bool "Support SH7706 processor"
178 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
180 config CPU_SUBTYPE_SH7707
181 bool "Support SH7707 processor"
184 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
186 config CPU_SUBTYPE_SH7708
187 bool "Support SH7708 processor"
190 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
191 if you have a 100 Mhz SH-3 HD6417708R CPU.
193 config CPU_SUBTYPE_SH7709
194 bool "Support SH7709 processor"
197 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
199 config CPU_SUBTYPE_SH7710
200 bool "Support SH7710 processor"
204 Select SH7710 if you have a SH3-DSP SH7710 CPU.
206 config CPU_SUBTYPE_SH7712
207 bool "Support SH7712 processor"
211 Select SH7712 if you have a SH3-DSP SH7712 CPU.
213 config CPU_SUBTYPE_SH7720
214 bool "Support SH7720 processor"
218 Select SH7720 if you have a SH3-DSP SH7720 CPU.
220 # SH-4 Processor Support
222 config CPU_SUBTYPE_SH7750
223 bool "Support SH7750 processor"
226 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
228 config CPU_SUBTYPE_SH7091
229 bool "Support SH7091 processor"
232 Select SH7091 if you have an SH-4 based Sega device (such as
233 the Dreamcast, Naomi, and Naomi 2).
235 config CPU_SUBTYPE_SH7750R
236 bool "Support SH7750R processor"
239 config CPU_SUBTYPE_SH7750S
240 bool "Support SH7750S processor"
243 config CPU_SUBTYPE_SH7751
244 bool "Support SH7751 processor"
247 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
248 or if you have a HD6417751R CPU.
250 config CPU_SUBTYPE_SH7751R
251 bool "Support SH7751R processor"
254 config CPU_SUBTYPE_SH7760
255 bool "Support SH7760 processor"
258 config CPU_SUBTYPE_SH4_202
259 bool "Support SH4-202 processor"
262 # SH-4A Processor Support
264 config CPU_SUBTYPE_SH7770
265 bool "Support SH7770 processor"
268 config CPU_SUBTYPE_SH7780
269 bool "Support SH7780 processor"
272 config CPU_SUBTYPE_SH7785
273 bool "Support SH7785 processor"
276 select ARCH_SPARSEMEM_ENABLE
277 select SYS_SUPPORTS_NUMA
279 config CPU_SUBTYPE_SHX3
280 bool "Support SH-X3 processor"
283 select ARCH_SPARSEMEM_ENABLE
284 select SYS_SUPPORTS_NUMA
285 select SYS_SUPPORTS_SMP
287 # SH4AL-DSP Processor Support
289 config CPU_SUBTYPE_SH7343
290 bool "Support SH7343 processor"
293 config CPU_SUBTYPE_SH7722
294 bool "Support SH7722 processor"
297 select ARCH_SPARSEMEM_ENABLE
298 select SYS_SUPPORTS_NUMA
300 # SH-5 Processor Support
302 config CPU_SUBTYPE_SH5_101
303 bool "Support SH5-101 processor"
306 config CPU_SUBTYPE_SH5_103
307 bool "Support SH5-103 processor"
311 source "arch/sh/mm/Kconfig"
312 source "arch/sh/Kconfig.cpu"
316 config SOLUTION_ENGINE
319 config SH_SOLUTION_ENGINE
320 bool "SolutionEngine"
321 select SOLUTION_ENGINE
322 select CPU_HAS_IPR_IRQ
323 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
324 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
327 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
328 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
330 config SH_7206_SOLUTION_ENGINE
331 bool "SolutionEngine7206"
332 select SOLUTION_ENGINE
333 depends on CPU_SUBTYPE_SH7206
335 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
338 config SH_7619_SOLUTION_ENGINE
339 bool "SolutionEngine7619"
340 select SOLUTION_ENGINE
341 depends on CPU_SUBTYPE_SH7619
343 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
346 config SH_7722_SOLUTION_ENGINE
347 bool "SolutionEngine7722"
348 select SOLUTION_ENGINE
349 depends on CPU_SUBTYPE_SH7722
351 Select 7722 SolutionEngine if configuring for a Hitachi SH772
354 config SH_7751_SOLUTION_ENGINE
355 bool "SolutionEngine7751"
356 select SOLUTION_ENGINE
357 select CPU_HAS_IPR_IRQ
358 depends on CPU_SUBTYPE_SH7751
360 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
363 config SH_7780_SOLUTION_ENGINE
364 bool "SolutionEngine7780"
365 select SOLUTION_ENGINE
366 select SYS_SUPPORTS_PCI
367 depends on CPU_SUBTYPE_SH7780
369 Select 7780 SolutionEngine if configuring for a Renesas SH7780
372 config SH_7343_SOLUTION_ENGINE
373 bool "SolutionEngine7343"
374 select SOLUTION_ENGINE
375 depends on CPU_SUBTYPE_SH7343
377 Select 7343 SolutionEngine if configuring for a Hitachi
378 SH7343 (SH-Mobile 3AS) evaluation board.
380 config SH_7751_SYSTEMH
382 depends on CPU_SUBTYPE_SH7751R
384 Select SystemH if you are configuring for a Renesas SystemH
385 7751R evaluation board.
389 select SYS_SUPPORTS_APM_EMULATION
390 select HD6446X_SERIES
391 depends on CPU_SUBTYPE_SH7709
393 Select HP6XX if configuring for a HP jornada HP6xx.
394 More information (hardware only) at
395 <http://www.hp.com/jornada/>.
399 select SYS_SUPPORTS_PCI
400 depends on CPU_SUBTYPE_SH7091
402 Select Dreamcast if configuring for a SEGA Dreamcast.
403 More information at <http://www.linux-sh.org>
406 bool "Interface MPC1211"
407 depends on CPU_SUBTYPE_SH7751 && BROKEN
409 CTP/PCI-SH02 is a CPU module computer that is produced
410 by Interface Corporation.
411 More information at <http://www.interface.co.jp>
414 bool "Interface CTP/PCI-SH03"
415 depends on CPU_SUBTYPE_SH7751
416 select CPU_HAS_IPR_IRQ
417 select SYS_SUPPORTS_PCI
419 CTP/PCI-SH03 is a CPU module computer that is produced
420 by Interface Corporation.
421 More information at <http://www.interface.co.jp>
423 config SH_SECUREEDGE5410
424 bool "SecureEdge5410"
425 depends on CPU_SUBTYPE_SH7751R
426 select CPU_HAS_IPR_IRQ
427 select SYS_SUPPORTS_PCI
429 Select SecureEdge5410 if configuring for a SnapGear SH board.
430 This includes both the OEM SecureEdge products as well as the
433 config SH_HS7751RVOIP
435 depends on CPU_SUBTYPE_SH7751R
437 Select HS7751RVOIP if configuring for a Renesas Technology
441 bool "SH7710-VOIP-GW"
442 depends on CPU_SUBTYPE_SH7710
444 Select this option to build a kernel for the SH7710 based
449 depends on CPU_SUBTYPE_SH7751R
450 select SYS_SUPPORTS_PCI
452 Select RTS7751R2D if configuring for a Renesas Technology
453 Sales SH-Graphics board.
457 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
458 select SYS_SUPPORTS_PCI
462 depends on CPU_SUBTYPE_SH7705
464 config SH_SH4202_MICRODEV
465 bool "SH4-202 MicroDev"
466 depends on CPU_SUBTYPE_SH4_202
468 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
473 depends on CPU_SUBTYPE_SH7751R
474 select SYS_SUPPORTS_PCI
476 I-O DATA DEVICE, INC. "LANDISK Series" support.
480 depends on CPU_SUBTYPE_SH7751R
481 select CPU_HAS_IPR_IRQ
482 select SYS_SUPPORTS_PCI
484 Select Titan if you are configuring for a Nimble Microsystems
489 depends on CPU_SUBTYPE_SH7706
490 select CPU_HAS_IPR_IRQ
492 Select SHMIN if configuring for the SHMIN board.
496 depends on CPU_SUBTYPE_SH7751R
497 select SYS_SUPPORTS_PCI
499 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
502 bool "SH-X3 Prototype board"
503 depends on CPU_SUBTYPE_SHX3
505 config SH_MAGIC_PANEL_R2
506 bool "Magic Panel R2"
507 depends on CPU_SUBTYPE_SH7720
509 Select Magic Panel R2 if configuring for Magic Panel R2.
516 bool "Hitachi Cayman"
517 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
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 || \
570 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
571 default "66000000" if CPU_SUBTYPE_SH4_202
574 This option is used to specify the peripheral clock frequency.
575 This is necessary for determining the reference clock value on
576 platforms lacking an RTC.
579 int "CPU Mode Pin Setting"
580 depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206
581 default 6 if CPU_SUBTYPE_SH7206
582 default 5 if CPU_SUBTYPE_SH7619
585 MD2 - MD0 pin setting.
587 source "kernel/time/Kconfig"
591 menu "CPU Frequency scaling"
593 source "drivers/cpufreq/Kconfig"
596 tristate "SuperH CPU Frequency driver"
598 select CPU_FREQ_TABLE
600 This adds the cpufreq driver for SuperH. At present, only
601 the SH-4 is supported.
603 For details, take a look at <file:Documentation/cpu-freq>.
609 source "arch/sh/drivers/Kconfig"
615 depends on SH_MPC1211
618 menu "Kernel features"
620 source kernel/Kconfig.hz
623 bool "kexec system call (EXPERIMENTAL)"
624 depends on EXPERIMENTAL
626 kexec is a system call that implements the ability to shutdown your
627 current kernel, and to start another kernel. It is like a reboot
628 but it is independent of the system firmware. And like a reboot
629 you can start any kernel with it, not just Linux.
631 The name comes from the similarity to the exec system call.
633 It is an ongoing process to be certain the hardware in a machine
634 is properly shutdown, so do not be surprised if this code does not
635 initially work for you. It may help to enable device hotplugging
636 support. As of this writing the exact hardware interface is
637 strongly in flux, so no good recommendation can be made.
640 bool "kernel crash dumps (EXPERIMENTAL)"
641 depends on EXPERIMENTAL
643 Generate crash dump after being started by kexec.
644 This should be normally only set in special crash dump kernels
645 which are loaded in the main kernel with kexec-tools into
646 a specially reserved region and then later executed after
647 a crash by kdump/kexec. The crash dump kernel must be compiled
648 to a memory address not used by the main kernel using
651 For more details see Documentation/kdump/kdump.txt
654 bool "Symmetric multi-processing support"
655 depends on SYS_SUPPORTS_SMP
657 This enables support for systems with more than one CPU. If you have
658 a system with only one CPU, like most personal computers, say N. If
659 you have a system with more than one CPU, say Y.
661 If you say N here, the kernel will run on single and multiprocessor
662 machines, but will use only one CPU of a multiprocessor machine. If
663 you say Y here, the kernel will run on many, but not all,
664 singleprocessor machines. On a singleprocessor machine, the kernel
665 will run faster if you say N here.
667 People using multiprocessor machines who say Y here should also say
668 Y to "Enhanced Real Time Clock Support", below.
670 See also the <file:Documentation/smp.txt>,
671 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
672 at <http://www.tldp.org/docs.html#howto>.
674 If you don't know what to do here, say N.
677 int "Maximum number of CPUs (2-32)"
680 default "4" if CPU_SHX3
683 This allows you to specify the maximum number of CPUs which this
684 kernel will support. The maximum supported value is 32 and the
685 minimum value which makes sense is 2.
687 This is purely to save memory - each supported CPU adds
688 approximately eight kilobytes to the kernel image.
690 source "kernel/Kconfig.preempt"
696 This enables support for gUSA (general UserSpace Atomicity).
697 This is the default implementation for both UP and non-ll/sc
698 CPUs, and is used by the libc, amongst others.
700 For additional information, design information can be found
701 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
703 This should only be disabled for special cases where alternate
704 atomicity implementations exist.
710 config ZERO_PAGE_OFFSET
711 hex "Zero page offset"
712 default "0x00004000" if SH_MPC1211 || SH_SH03
713 default "0x00010000" if PAGE_SIZE_64KB
714 default "0x00002000" if PAGE_SIZE_8KB
717 This sets the default offset of zero page.
719 config BOOT_LINK_OFFSET
720 hex "Link address offset for booting"
723 This option allows you to set the link address offset of the zImage.
724 This can be useful if you are on a board which has a small amount of
728 bool "Wakeup UBC on startup"
729 depends on CPU_SH4 && !CPU_SH4A
731 Selecting this option will wakeup the User Break Controller (UBC) on
732 startup. Although the UBC is left in an awake state when the processor
733 comes up, some boot loaders misbehave by putting the UBC to sleep in a
734 power saving state, which causes issues with things like ptrace().
739 bool "Default bootloader kernel arguments"
742 string "Initial kernel command string"
743 depends on CMDLINE_BOOL
744 default "console=ttySC1,115200"
750 # Even on SuperH devices which don't have an ISA bus,
751 # this variable helps the PCMCIA modules handle
752 # IRQ requesting properly -- Greg Banks.
754 # Though we're generally not interested in it when
755 # we're not using PCMCIA, so we make it dependent on
756 # PCMCIA outright. -- PFM.
759 depends on PCMCIA && HD6446X_SERIES
761 Find out whether you have ISA slots on your motherboard. ISA is the
762 name of a bus system, i.e. the way the CPU talks to the other stuff
763 inside your box. Other bus systems are PCI, EISA, MicroChannel
764 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
765 newer boards don't support it. If you have ISA, say Y, otherwise N.
770 The Extended Industry Standard Architecture (EISA) bus was
771 developed as an open alternative to the IBM MicroChannel bus.
773 The EISA bus provided some of the features of the IBM MicroChannel
774 bus while maintaining backward compatibility with cards made for
775 the older ISA bus. The EISA bus saw limited use between 1988 and
776 1995 when it was made obsolete by the PCI bus.
778 Say Y here if you are building a kernel for an EISA-based machine.
785 MicroChannel Architecture is found in some IBM PS/2 machines and
786 laptops. It is a bus system similar to PCI or ISA. See
787 <file:Documentation/mca.txt> (and especially the web page given
788 there) before attempting to build an MCA bus kernel.
794 tristate "SuperHyway Bus support"
795 depends on CPU_SUBTYPE_SH4_202
798 bool "Maple Bus support"
799 depends on SH_DREAMCAST
801 The Maple Bus is SEGA's serial communication bus for peripherals
802 on the Dreamcast. Without this bus support you won't be able to
803 get your Dreamcast keyboard etc to work, so most users
804 probably want to say 'Y' here, unless you are only using the
805 Dreamcast with a serial line terminal or a remote network
809 bool "Compact Flash Enabler support"
810 depends on SOLUTION_ENGINE || SH_SH03
812 Compact Flash is a small, removable mass storage device introduced
813 in 1994 originally as a PCMCIA device. If you say `Y' here, you
814 compile in support for Compact Flash devices directly connected to
815 a SuperH processor. A Compact Flash FAQ is available at
816 <http://www.compactflash.org/faqs/faq.htm>.
818 If your board has "Directly Connected" CompactFlash at area 5 or 6,
819 you may want to enable this option. Then, you can use CF as
820 primary IDE drive (only tested for SanDisk).
822 If in doubt, select 'N'.
825 prompt "Compact Flash Connection Area"
826 depends on CF_ENABLER
832 If your board has "Directly Connected" CompactFlash, You should
833 select the area where your CF is connected to.
835 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
836 - "Area6" if it is connected to Area 6 (0x18000000)
838 "Area6" will work for most boards.
847 depends on CF_ENABLER
848 default "0xb8000000" if CF_AREA6
849 default "0xb4000000" if CF_AREA5
851 source "arch/sh/drivers/pci/Kconfig"
853 source "drivers/pci/Kconfig"
855 source "drivers/pcmcia/Kconfig"
857 source "drivers/pci/hotplug/Kconfig"
861 menu "Executable file formats"
863 source "fs/Kconfig.binfmt"
867 menu "Power management options (EXPERIMENTAL)"
868 depends on EXPERIMENTAL && SYS_SUPPORTS_PM
870 source kernel/power/Kconfig
876 source "drivers/Kconfig"
880 source "kernel/Kconfig.instrumentation"
882 source "arch/sh/Kconfig.debug"
884 source "security/Kconfig"
886 source "crypto/Kconfig"