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
26 config RWSEM_XCHGADD_ALGORITHM
31 depends on BUG && SUPERH32
33 config GENERIC_FIND_NEXT_BIT
36 config GENERIC_HWEIGHT
39 config GENERIC_HARDIRQS
42 config GENERIC_IRQ_PROBE
45 config GENERIC_CALIBRATE_DELAY
54 config GENERIC_CLOCKEVENTS
57 config SYS_SUPPORTS_PM
60 config SYS_SUPPORTS_APM_EMULATION
62 select SYS_SUPPORTS_PM
64 config SYS_SUPPORTS_SMP
67 config SYS_SUPPORTS_NUMA
70 config SYS_SUPPORTS_PCI
73 config ARCH_MAY_HAVE_PC_FDC
76 config STACKTRACE_SUPPORT
79 config LOCKDEP_SUPPORT
82 config ARCH_HAS_ILOG2_U32
85 config ARCH_HAS_ILOG2_U64
88 config ARCH_NO_VIRT_TO_BUS
107 select CPU_HAS_INTEVT
112 select CPU_HAS_INTEVT
114 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
115 select CPU_HAS_FPU if !CPU_SH4AL_DSP
137 prompt "Processor sub-type selection"
143 # SH-2 Processor Support
145 config CPU_SUBTYPE_SH7619
146 bool "Support SH7619 processor"
149 # SH-2A Processor Support
151 config CPU_SUBTYPE_SH7203
152 bool "Support SH7203 processor"
156 config CPU_SUBTYPE_SH7206
157 bool "Support SH7206 processor"
160 config CPU_SUBTYPE_SH7263
161 bool "Support SH7263 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 config CPU_SUBTYPE_SH7721
218 bool "Support SH7721 processor"
222 Select SH7721 if you have a SH3-DSP SH7721 CPU.
224 # SH-4 Processor Support
226 config CPU_SUBTYPE_SH7750
227 bool "Support SH7750 processor"
230 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
232 config CPU_SUBTYPE_SH7091
233 bool "Support SH7091 processor"
236 Select SH7091 if you have an SH-4 based Sega device (such as
237 the Dreamcast, Naomi, and Naomi 2).
239 config CPU_SUBTYPE_SH7750R
240 bool "Support SH7750R processor"
243 config CPU_SUBTYPE_SH7750S
244 bool "Support SH7750S processor"
247 config CPU_SUBTYPE_SH7751
248 bool "Support SH7751 processor"
251 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
252 or if you have a HD6417751R CPU.
254 config CPU_SUBTYPE_SH7751R
255 bool "Support SH7751R processor"
258 config CPU_SUBTYPE_SH7760
259 bool "Support SH7760 processor"
262 config CPU_SUBTYPE_SH4_202
263 bool "Support SH4-202 processor"
266 # SH-4A Processor Support
268 config CPU_SUBTYPE_SH7770
269 bool "Support SH7770 processor"
272 config CPU_SUBTYPE_SH7780
273 bool "Support SH7780 processor"
276 config CPU_SUBTYPE_SH7785
277 bool "Support SH7785 processor"
280 select ARCH_SPARSEMEM_ENABLE
281 select SYS_SUPPORTS_NUMA
283 config CPU_SUBTYPE_SHX3
284 bool "Support SH-X3 processor"
287 select ARCH_SPARSEMEM_ENABLE
288 select SYS_SUPPORTS_NUMA
289 select SYS_SUPPORTS_SMP
291 # SH4AL-DSP Processor Support
293 config CPU_SUBTYPE_SH7343
294 bool "Support SH7343 processor"
297 config CPU_SUBTYPE_SH7722
298 bool "Support SH7722 processor"
301 select ARCH_SPARSEMEM_ENABLE
302 select SYS_SUPPORTS_NUMA
304 # SH-5 Processor Support
306 config CPU_SUBTYPE_SH5_101
307 bool "Support SH5-101 processor"
310 config CPU_SUBTYPE_SH5_103
311 bool "Support SH5-103 processor"
315 source "arch/sh/mm/Kconfig"
316 source "arch/sh/Kconfig.cpu"
320 config SOLUTION_ENGINE
323 config SH_SOLUTION_ENGINE
324 bool "SolutionEngine"
325 select SOLUTION_ENGINE
326 select CPU_HAS_IPR_IRQ
327 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
328 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
331 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
332 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
334 config SH_7206_SOLUTION_ENGINE
335 bool "SolutionEngine7206"
336 select SOLUTION_ENGINE
337 depends on CPU_SUBTYPE_SH7206
339 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
342 config SH_7619_SOLUTION_ENGINE
343 bool "SolutionEngine7619"
344 select SOLUTION_ENGINE
345 depends on CPU_SUBTYPE_SH7619
347 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
350 config SH_7722_SOLUTION_ENGINE
351 bool "SolutionEngine7722"
352 select SOLUTION_ENGINE
353 depends on CPU_SUBTYPE_SH7722
355 Select 7722 SolutionEngine if configuring for a Hitachi SH772
358 config SH_7751_SOLUTION_ENGINE
359 bool "SolutionEngine7751"
360 select SOLUTION_ENGINE
361 select CPU_HAS_IPR_IRQ
362 depends on CPU_SUBTYPE_SH7751
364 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
367 config SH_7780_SOLUTION_ENGINE
368 bool "SolutionEngine7780"
369 select SOLUTION_ENGINE
370 select SYS_SUPPORTS_PCI
371 depends on CPU_SUBTYPE_SH7780
373 Select 7780 SolutionEngine if configuring for a Renesas SH7780
376 config SH_7343_SOLUTION_ENGINE
377 bool "SolutionEngine7343"
378 select SOLUTION_ENGINE
379 depends on CPU_SUBTYPE_SH7343
381 Select 7343 SolutionEngine if configuring for a Hitachi
382 SH7343 (SH-Mobile 3AS) evaluation board.
384 config SH_7751_SYSTEMH
386 depends on CPU_SUBTYPE_SH7751R
388 Select SystemH if you are configuring for a Renesas SystemH
389 7751R evaluation board.
393 select SYS_SUPPORTS_APM_EMULATION
394 select HD6446X_SERIES
395 depends on CPU_SUBTYPE_SH7709
397 Select HP6XX if configuring for a HP jornada HP6xx.
398 More information (hardware only) at
399 <http://www.hp.com/jornada/>.
403 select SYS_SUPPORTS_PCI
404 depends on CPU_SUBTYPE_SH7091
406 Select Dreamcast if configuring for a SEGA Dreamcast.
407 More information at <http://www.linux-sh.org>
410 bool "Interface MPC1211"
411 depends on CPU_SUBTYPE_SH7751 && BROKEN
413 CTP/PCI-SH02 is a CPU module computer that is produced
414 by Interface Corporation.
415 More information at <http://www.interface.co.jp>
418 bool "Interface CTP/PCI-SH03"
419 depends on CPU_SUBTYPE_SH7751
420 select CPU_HAS_IPR_IRQ
421 select SYS_SUPPORTS_PCI
423 CTP/PCI-SH03 is a CPU module computer that is produced
424 by Interface Corporation.
425 More information at <http://www.interface.co.jp>
427 config SH_SECUREEDGE5410
428 bool "SecureEdge5410"
429 depends on CPU_SUBTYPE_SH7751R
430 select CPU_HAS_IPR_IRQ
431 select SYS_SUPPORTS_PCI
433 Select SecureEdge5410 if configuring for a SnapGear SH board.
434 This includes both the OEM SecureEdge products as well as the
437 config SH_HS7751RVOIP
439 depends on CPU_SUBTYPE_SH7751R
441 Select HS7751RVOIP if configuring for a Renesas Technology
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 || CPU_SUBTYPE_SH7785
462 select SYS_SUPPORTS_PCI
466 depends on CPU_SUBTYPE_SH7705
468 config SH_SH4202_MICRODEV
469 bool "SH4-202 MicroDev"
470 depends on CPU_SUBTYPE_SH4_202
472 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
477 depends on CPU_SUBTYPE_SH7751R
478 select SYS_SUPPORTS_PCI
480 I-O DATA DEVICE, INC. "LANDISK Series" support.
484 depends on CPU_SUBTYPE_SH7751R
485 select CPU_HAS_IPR_IRQ
486 select SYS_SUPPORTS_PCI
488 Select Titan if you are configuring for a Nimble Microsystems
493 depends on CPU_SUBTYPE_SH7706
494 select CPU_HAS_IPR_IRQ
496 Select SHMIN if configuring for the SHMIN board.
500 depends on CPU_SUBTYPE_SH7751R
501 select SYS_SUPPORTS_PCI
503 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
506 bool "SH-X3 Prototype board"
507 depends on CPU_SUBTYPE_SHX3
509 config SH_MAGIC_PANEL_R2
510 bool "Magic Panel R2"
511 depends on CPU_SUBTYPE_SH7720
513 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
518 select SYS_SUPPORTS_PCI
522 source "arch/sh/boards/renesas/hs7751rvoip/Kconfig"
523 source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
524 source "arch/sh/boards/renesas/r7780rp/Kconfig"
525 source "arch/sh/boards/magicpanelr2/Kconfig"
527 menu "Timer and clock configuration"
531 prompt "TMU timer support"
532 depends on CPU_SH3 || CPU_SH4
534 select GENERIC_CLOCKEVENTS
536 This enables the use of the TMU as the system timer.
540 prompt "CMT timer support"
543 This enables the use of the CMT as the system timer.
547 prompt "MTU2 timer support"
550 This enables the use of the MTU2 as the system timer.
554 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
555 default "86" if CPU_SUBTYPE_SH7619
556 default "140" if CPU_SUBTYPE_SH7206
560 int "Peripheral clock frequency (in Hz)"
561 default "27000000" if CPU_SUBTYPE_SH7343
562 default "31250000" if CPU_SUBTYPE_SH7619
563 default "32000000" if CPU_SUBTYPE_SH7722
564 default "33333333" if CPU_SUBTYPE_SH7770 || \
565 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
566 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
568 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
569 default "66000000" if CPU_SUBTYPE_SH4_202
572 This option is used to specify the peripheral clock frequency.
573 This is necessary for determining the reference clock value on
574 platforms lacking an RTC.
577 int "CPU Mode Pin Setting"
579 default 6 if CPU_SUBTYPE_SH7206
580 default 5 if CPU_SUBTYPE_SH7619
583 MD2 - MD0 pin setting.
585 source "kernel/time/Kconfig"
589 menu "CPU Frequency scaling"
591 source "drivers/cpufreq/Kconfig"
594 tristate "SuperH CPU Frequency driver"
596 select CPU_FREQ_TABLE
598 This adds the cpufreq driver for SuperH. At present, only
599 the SH-4 is supported.
601 For details, take a look at <file:Documentation/cpu-freq>.
607 source "arch/sh/drivers/Kconfig"
613 depends on SH_MPC1211
615 menu "Kernel features"
617 source kernel/Kconfig.hz
620 bool "kexec system call (EXPERIMENTAL)"
621 depends on EXPERIMENTAL
623 kexec is a system call that implements the ability to shutdown your
624 current kernel, and to start another kernel. It is like a reboot
625 but it is independent of the system firmware. And like a reboot
626 you can start any kernel with it, not just Linux.
628 The name comes from the similarity to the exec system call.
630 It is an ongoing process to be certain the hardware in a machine
631 is properly shutdown, so do not be surprised if this code does not
632 initially work for you. It may help to enable device hotplugging
633 support. As of this writing the exact hardware interface is
634 strongly in flux, so no good recommendation can be made.
637 bool "kernel crash dumps (EXPERIMENTAL)"
638 depends on EXPERIMENTAL
640 Generate crash dump after being started by kexec.
641 This should be normally only set in special crash dump kernels
642 which are loaded in the main kernel with kexec-tools into
643 a specially reserved region and then later executed after
644 a crash by kdump/kexec. The crash dump kernel must be compiled
645 to a memory address not used by the main kernel using
648 For more details see Documentation/kdump/kdump.txt
651 bool "Symmetric multi-processing support"
652 depends on SYS_SUPPORTS_SMP
654 This enables support for systems with more than one CPU. If you have
655 a system with only one CPU, like most personal computers, say N. If
656 you have a system with more than one CPU, say Y.
658 If you say N here, the kernel will run on single and multiprocessor
659 machines, but will use only one CPU of a multiprocessor machine. If
660 you say Y here, the kernel will run on many, but not all,
661 singleprocessor machines. On a singleprocessor machine, the kernel
662 will run faster if you say N here.
664 People using multiprocessor machines who say Y here should also say
665 Y to "Enhanced Real Time Clock Support", below.
667 See also the <file:Documentation/smp.txt>,
668 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
669 at <http://www.tldp.org/docs.html#howto>.
671 If you don't know what to do here, say N.
674 int "Maximum number of CPUs (2-32)"
677 default "4" if CPU_SHX3
680 This allows you to specify the maximum number of CPUs which this
681 kernel will support. The maximum supported value is 32 and the
682 minimum value which makes sense is 2.
684 This is purely to save memory - each supported CPU adds
685 approximately eight kilobytes to the kernel image.
687 source "kernel/Kconfig.preempt"
691 depends on !SMP && SUPERH32
693 This enables support for gUSA (general UserSpace Atomicity).
694 This is the default implementation for both UP and non-ll/sc
695 CPUs, and is used by the libc, amongst others.
697 For additional information, design information can be found
698 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
700 This should only be disabled for special cases where alternate
701 atomicity implementations exist.
704 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
705 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
707 Enabling this option will allow the kernel to implement some
708 atomic operations using a software implemention of load-locked/
709 store-conditional (LLSC). On machines which do not have hardware
710 LLSC, this should be more efficient than the other alternative of
711 disabling insterrupts around the atomic sequence.
717 config ZERO_PAGE_OFFSET
718 hex "Zero page offset"
719 default "0x00004000" if SH_MPC1211 || SH_SH03
720 default "0x00010000" if PAGE_SIZE_64KB
721 default "0x00002000" if PAGE_SIZE_8KB
724 This sets the default offset of zero page.
726 config BOOT_LINK_OFFSET
727 hex "Link address offset for booting"
730 This option allows you to set the link address offset of the zImage.
731 This can be useful if you are on a board which has a small amount of
735 bool "Wakeup UBC on startup"
736 depends on CPU_SH4 && !CPU_SH4A
738 Selecting this option will wakeup the User Break Controller (UBC) on
739 startup. Although the UBC is left in an awake state when the processor
740 comes up, some boot loaders misbehave by putting the UBC to sleep in a
741 power saving state, which causes issues with things like ptrace().
746 bool "Default bootloader kernel arguments"
749 string "Initial kernel command string"
750 depends on CMDLINE_BOOL
751 default "console=ttySC1,115200"
757 # Even on SuperH devices which don't have an ISA bus,
758 # this variable helps the PCMCIA modules handle
759 # IRQ requesting properly -- Greg Banks.
761 # Though we're generally not interested in it when
762 # we're not using PCMCIA, so we make it dependent on
763 # PCMCIA outright. -- PFM.
766 depends on PCMCIA && HD6446X_SERIES
768 Find out whether you have ISA slots on your motherboard. ISA is the
769 name of a bus system, i.e. the way the CPU talks to the other stuff
770 inside your box. Other bus systems are PCI, EISA, MicroChannel
771 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
772 newer boards don't support it. If you have ISA, say Y, otherwise N.
777 The Extended Industry Standard Architecture (EISA) bus was
778 developed as an open alternative to the IBM MicroChannel bus.
780 The EISA bus provided some of the features of the IBM MicroChannel
781 bus while maintaining backward compatibility with cards made for
782 the older ISA bus. The EISA bus saw limited use between 1988 and
783 1995 when it was made obsolete by the PCI bus.
785 Say Y here if you are building a kernel for an EISA-based machine.
792 MicroChannel Architecture is found in some IBM PS/2 machines and
793 laptops. It is a bus system similar to PCI or ISA. See
794 <file:Documentation/mca.txt> (and especially the web page given
795 there) before attempting to build an MCA bus kernel.
801 tristate "SuperHyway Bus support"
802 depends on CPU_SUBTYPE_SH4_202
805 bool "Maple Bus support"
806 depends on SH_DREAMCAST
808 The Maple Bus is SEGA's serial communication bus for peripherals
809 on the Dreamcast. Without this bus support you won't be able to
810 get your Dreamcast keyboard etc to work, so most users
811 probably want to say 'Y' here, unless you are only using the
812 Dreamcast with a serial line terminal or a remote network
816 bool "Compact Flash Enabler support"
817 depends on SOLUTION_ENGINE || SH_SH03
819 Compact Flash is a small, removable mass storage device introduced
820 in 1994 originally as a PCMCIA device. If you say `Y' here, you
821 compile in support for Compact Flash devices directly connected to
822 a SuperH processor. A Compact Flash FAQ is available at
823 <http://www.compactflash.org/faqs/faq.htm>.
825 If your board has "Directly Connected" CompactFlash at area 5 or 6,
826 you may want to enable this option. Then, you can use CF as
827 primary IDE drive (only tested for SanDisk).
829 If in doubt, select 'N'.
832 prompt "Compact Flash Connection Area"
833 depends on CF_ENABLER
839 If your board has "Directly Connected" CompactFlash, You should
840 select the area where your CF is connected to.
842 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
843 - "Area6" if it is connected to Area 6 (0x18000000)
845 "Area6" will work for most boards.
854 depends on CF_ENABLER
855 default "0xb8000000" if CF_AREA6
856 default "0xb4000000" if CF_AREA5
858 source "arch/sh/drivers/pci/Kconfig"
860 source "drivers/pci/Kconfig"
862 source "drivers/pcmcia/Kconfig"
864 source "drivers/pci/hotplug/Kconfig"
868 menu "Executable file formats"
870 source "fs/Kconfig.binfmt"
874 menu "Power management options (EXPERIMENTAL)"
875 depends on EXPERIMENTAL && SYS_SUPPORTS_PM
877 source kernel/power/Kconfig
883 source "drivers/Kconfig"
887 source "kernel/Kconfig.instrumentation"
889 source "arch/sh/Kconfig.debug"
891 source "security/Kconfig"
893 source "crypto/Kconfig"