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
92 config ARCH_SUPPORTS_AOUT
111 select CPU_HAS_INTEVT
116 select CPU_HAS_INTEVT
118 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
119 select CPU_HAS_FPU if !CPU_SH4AL_DSP
141 prompt "Processor sub-type selection"
147 # SH-2 Processor Support
149 config CPU_SUBTYPE_SH7619
150 bool "Support SH7619 processor"
153 # SH-2A Processor Support
155 config CPU_SUBTYPE_SH7203
156 bool "Support SH7203 processor"
160 config CPU_SUBTYPE_SH7206
161 bool "Support SH7206 processor"
164 config CPU_SUBTYPE_SH7263
165 bool "Support SH7263 processor"
169 # SH-3 Processor Support
171 config CPU_SUBTYPE_SH7705
172 bool "Support SH7705 processor"
175 config CPU_SUBTYPE_SH7706
176 bool "Support SH7706 processor"
179 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
181 config CPU_SUBTYPE_SH7707
182 bool "Support SH7707 processor"
185 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
187 config CPU_SUBTYPE_SH7708
188 bool "Support SH7708 processor"
191 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
192 if you have a 100 Mhz SH-3 HD6417708R CPU.
194 config CPU_SUBTYPE_SH7709
195 bool "Support SH7709 processor"
198 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
200 config CPU_SUBTYPE_SH7710
201 bool "Support SH7710 processor"
205 Select SH7710 if you have a SH3-DSP SH7710 CPU.
207 config CPU_SUBTYPE_SH7712
208 bool "Support SH7712 processor"
212 Select SH7712 if you have a SH3-DSP SH7712 CPU.
214 config CPU_SUBTYPE_SH7720
215 bool "Support SH7720 processor"
219 Select SH7720 if you have a SH3-DSP SH7720 CPU.
221 config CPU_SUBTYPE_SH7721
222 bool "Support SH7721 processor"
226 Select SH7721 if you have a SH3-DSP SH7721 CPU.
228 # SH-4 Processor Support
230 config CPU_SUBTYPE_SH7750
231 bool "Support SH7750 processor"
234 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
236 config CPU_SUBTYPE_SH7091
237 bool "Support SH7091 processor"
240 Select SH7091 if you have an SH-4 based Sega device (such as
241 the Dreamcast, Naomi, and Naomi 2).
243 config CPU_SUBTYPE_SH7750R
244 bool "Support SH7750R processor"
247 config CPU_SUBTYPE_SH7750S
248 bool "Support SH7750S processor"
251 config CPU_SUBTYPE_SH7751
252 bool "Support SH7751 processor"
255 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
256 or if you have a HD6417751R CPU.
258 config CPU_SUBTYPE_SH7751R
259 bool "Support SH7751R processor"
262 config CPU_SUBTYPE_SH7760
263 bool "Support SH7760 processor"
266 config CPU_SUBTYPE_SH4_202
267 bool "Support SH4-202 processor"
270 # SH-4A Processor Support
272 config CPU_SUBTYPE_SH7763
273 bool "Support SH7763 processor"
276 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
278 config CPU_SUBTYPE_SH7770
279 bool "Support SH7770 processor"
282 config CPU_SUBTYPE_SH7780
283 bool "Support SH7780 processor"
286 config CPU_SUBTYPE_SH7785
287 bool "Support SH7785 processor"
290 select ARCH_SPARSEMEM_ENABLE
291 select SYS_SUPPORTS_NUMA
293 config CPU_SUBTYPE_SHX3
294 bool "Support SH-X3 processor"
297 select ARCH_SPARSEMEM_ENABLE
298 select SYS_SUPPORTS_NUMA
299 select SYS_SUPPORTS_SMP
301 # SH4AL-DSP Processor Support
303 config CPU_SUBTYPE_SH7343
304 bool "Support SH7343 processor"
307 config CPU_SUBTYPE_SH7722
308 bool "Support SH7722 processor"
311 select ARCH_SPARSEMEM_ENABLE
312 select SYS_SUPPORTS_NUMA
314 # SH-5 Processor Support
316 config CPU_SUBTYPE_SH5_101
317 bool "Support SH5-101 processor"
320 config CPU_SUBTYPE_SH5_103
321 bool "Support SH5-103 processor"
325 source "arch/sh/mm/Kconfig"
326 source "arch/sh/Kconfig.cpu"
330 config SOLUTION_ENGINE
333 config SH_SOLUTION_ENGINE
334 bool "SolutionEngine"
335 select SOLUTION_ENGINE
336 select CPU_HAS_IPR_IRQ
337 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
338 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
341 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
342 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
344 config SH_7206_SOLUTION_ENGINE
345 bool "SolutionEngine7206"
346 select SOLUTION_ENGINE
347 depends on CPU_SUBTYPE_SH7206
349 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
352 config SH_7619_SOLUTION_ENGINE
353 bool "SolutionEngine7619"
354 select SOLUTION_ENGINE
355 depends on CPU_SUBTYPE_SH7619
357 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
360 config SH_7722_SOLUTION_ENGINE
361 bool "SolutionEngine7722"
362 select SOLUTION_ENGINE
363 depends on CPU_SUBTYPE_SH7722
365 Select 7722 SolutionEngine if configuring for a Hitachi SH772
368 config SH_7751_SOLUTION_ENGINE
369 bool "SolutionEngine7751"
370 select SOLUTION_ENGINE
371 select CPU_HAS_IPR_IRQ
372 depends on CPU_SUBTYPE_SH7751
374 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
377 config SH_7780_SOLUTION_ENGINE
378 bool "SolutionEngine7780"
379 select SOLUTION_ENGINE
380 select SYS_SUPPORTS_PCI
381 depends on CPU_SUBTYPE_SH7780
383 Select 7780 SolutionEngine if configuring for a Renesas SH7780
386 config SH_7343_SOLUTION_ENGINE
387 bool "SolutionEngine7343"
388 select SOLUTION_ENGINE
389 depends on CPU_SUBTYPE_SH7343
391 Select 7343 SolutionEngine if configuring for a Hitachi
392 SH7343 (SH-Mobile 3AS) evaluation board.
394 config SH_7751_SYSTEMH
396 depends on CPU_SUBTYPE_SH7751R
398 Select SystemH if you are configuring for a Renesas SystemH
399 7751R evaluation board.
403 select SYS_SUPPORTS_APM_EMULATION
404 select HD6446X_SERIES
405 depends on CPU_SUBTYPE_SH7709
407 Select HP6XX if configuring for a HP jornada HP6xx.
408 More information (hardware only) at
409 <http://www.hp.com/jornada/>.
413 select SYS_SUPPORTS_PCI
414 depends on CPU_SUBTYPE_SH7091
416 Select Dreamcast if configuring for a SEGA Dreamcast.
417 More information at <http://www.linux-sh.org>
420 bool "Interface MPC1211"
421 depends on CPU_SUBTYPE_SH7751 && BROKEN
423 CTP/PCI-SH02 is a CPU module computer that is produced
424 by Interface Corporation.
425 More information at <http://www.interface.co.jp>
428 bool "Interface CTP/PCI-SH03"
429 depends on CPU_SUBTYPE_SH7751
430 select CPU_HAS_IPR_IRQ
431 select SYS_SUPPORTS_PCI
433 CTP/PCI-SH03 is a CPU module computer that is produced
434 by Interface Corporation.
435 More information at <http://www.interface.co.jp>
437 config SH_SECUREEDGE5410
438 bool "SecureEdge5410"
439 depends on CPU_SUBTYPE_SH7751R
440 select CPU_HAS_IPR_IRQ
441 select SYS_SUPPORTS_PCI
443 Select SecureEdge5410 if configuring for a SnapGear SH board.
444 This includes both the OEM SecureEdge products as well as the
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
465 select SYS_SUPPORTS_PCI
467 Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
472 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
473 select SYS_SUPPORTS_PCI
477 depends on CPU_SUBTYPE_SH7705
479 config SH_SH4202_MICRODEV
480 bool "SH4-202 MicroDev"
481 depends on CPU_SUBTYPE_SH4_202
483 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
488 depends on CPU_SUBTYPE_SH7751R
489 select SYS_SUPPORTS_PCI
491 I-O DATA DEVICE, INC. "LANDISK Series" support.
495 depends on CPU_SUBTYPE_SH7751R
496 select CPU_HAS_IPR_IRQ
497 select SYS_SUPPORTS_PCI
499 Select Titan if you are configuring for a Nimble Microsystems
504 depends on CPU_SUBTYPE_SH7706
505 select CPU_HAS_IPR_IRQ
507 Select SHMIN if configuring for the SHMIN board.
511 depends on CPU_SUBTYPE_SH7751R
512 select SYS_SUPPORTS_PCI
514 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
517 bool "SH-X3 Prototype board"
518 depends on CPU_SUBTYPE_SHX3
520 config SH_MAGIC_PANEL_R2
521 bool "Magic Panel R2"
522 depends on CPU_SUBTYPE_SH7720
524 Select Magic Panel R2 if configuring for Magic Panel R2.
527 bool "Hitachi Cayman"
528 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
529 select SYS_SUPPORTS_PCI
533 source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
534 source "arch/sh/boards/renesas/r7780rp/Kconfig"
535 source "arch/sh/boards/renesas/sdk7780/Kconfig"
536 source "arch/sh/boards/magicpanelr2/Kconfig"
538 menu "Timer and clock configuration"
542 prompt "TMU timer support"
543 depends on CPU_SH3 || CPU_SH4
545 select GENERIC_CLOCKEVENTS
547 This enables the use of the TMU as the system timer.
551 prompt "CMT timer support"
554 This enables the use of the CMT as the system timer.
558 prompt "MTU2 timer support"
561 This enables the use of the MTU2 as the system timer.
565 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
567 default "86" if CPU_SUBTYPE_SH7619
568 default "140" if CPU_SUBTYPE_SH7206
572 int "Peripheral clock frequency (in Hz)"
573 default "27000000" if CPU_SUBTYPE_SH7343
574 default "31250000" if CPU_SUBTYPE_SH7619
575 default "32000000" if CPU_SUBTYPE_SH7722
576 default "33333333" if CPU_SUBTYPE_SH7770 || \
577 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
578 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
580 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
581 default "66000000" if CPU_SUBTYPE_SH4_202
584 This option is used to specify the peripheral clock frequency.
585 This is necessary for determining the reference clock value on
586 platforms lacking an RTC.
589 int "CPU Mode Pin Setting"
591 default 6 if CPU_SUBTYPE_SH7206
592 default 5 if CPU_SUBTYPE_SH7619
595 MD2 - MD0 pin setting.
597 source "kernel/time/Kconfig"
601 menu "CPU Frequency scaling"
603 source "drivers/cpufreq/Kconfig"
606 tristate "SuperH CPU Frequency driver"
608 select CPU_FREQ_TABLE
610 This adds the cpufreq driver for SuperH. At present, only
611 the SH-4 is supported.
613 For details, take a look at <file:Documentation/cpu-freq>.
619 source "arch/sh/drivers/Kconfig"
625 depends on SH_MPC1211
627 menu "Kernel features"
629 source kernel/Kconfig.hz
632 bool "kexec system call (EXPERIMENTAL)"
633 depends on EXPERIMENTAL
635 kexec is a system call that implements the ability to shutdown your
636 current kernel, and to start another kernel. It is like a reboot
637 but it is independent of the system firmware. And like a reboot
638 you can start any kernel with it, not just Linux.
640 The name comes from the similarity to the exec system call.
642 It is an ongoing process to be certain the hardware in a machine
643 is properly shutdown, so do not be surprised if this code does not
644 initially work for you. It may help to enable device hotplugging
645 support. As of this writing the exact hardware interface is
646 strongly in flux, so no good recommendation can be made.
649 bool "kernel crash dumps (EXPERIMENTAL)"
650 depends on EXPERIMENTAL
652 Generate crash dump after being started by kexec.
653 This should be normally only set in special crash dump kernels
654 which are loaded in the main kernel with kexec-tools into
655 a specially reserved region and then later executed after
656 a crash by kdump/kexec. The crash dump kernel must be compiled
657 to a memory address not used by the main kernel using
660 For more details see Documentation/kdump/kdump.txt
663 bool "Symmetric multi-processing support"
664 depends on SYS_SUPPORTS_SMP
666 This enables support for systems with more than one CPU. If you have
667 a system with only one CPU, like most personal computers, say N. If
668 you have a system with more than one CPU, say Y.
670 If you say N here, the kernel will run on single and multiprocessor
671 machines, but will use only one CPU of a multiprocessor machine. If
672 you say Y here, the kernel will run on many, but not all,
673 singleprocessor machines. On a singleprocessor machine, the kernel
674 will run faster if you say N here.
676 People using multiprocessor machines who say Y here should also say
677 Y to "Enhanced Real Time Clock Support", below.
679 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
680 available at <http://www.tldp.org/docs.html#howto>.
682 If you don't know what to do here, say N.
685 int "Maximum number of CPUs (2-32)"
688 default "4" if CPU_SHX3
691 This allows you to specify the maximum number of CPUs which this
692 kernel will support. The maximum supported value is 32 and the
693 minimum value which makes sense is 2.
695 This is purely to save memory - each supported CPU adds
696 approximately eight kilobytes to the kernel image.
698 source "kernel/Kconfig.preempt"
702 depends on !SMP && SUPERH32
704 This enables support for gUSA (general UserSpace Atomicity).
705 This is the default implementation for both UP and non-ll/sc
706 CPUs, and is used by the libc, amongst others.
708 For additional information, design information can be found
709 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
711 This should only be disabled for special cases where alternate
712 atomicity implementations exist.
715 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
716 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
718 Enabling this option will allow the kernel to implement some
719 atomic operations using a software implemention of load-locked/
720 store-conditional (LLSC). On machines which do not have hardware
721 LLSC, this should be more efficient than the other alternative of
722 disabling insterrupts around the atomic sequence.
728 config ZERO_PAGE_OFFSET
729 hex "Zero page offset"
730 default "0x00004000" if SH_MPC1211 || SH_SH03
731 default "0x00010000" if PAGE_SIZE_64KB
732 default "0x00002000" if PAGE_SIZE_8KB
735 This sets the default offset of zero page.
737 config BOOT_LINK_OFFSET
738 hex "Link address offset for booting"
741 This option allows you to set the link address offset of the zImage.
742 This can be useful if you are on a board which has a small amount of
746 bool "Wakeup UBC on startup"
747 depends on CPU_SH4 && !CPU_SH4A
749 Selecting this option will wakeup the User Break Controller (UBC) on
750 startup. Although the UBC is left in an awake state when the processor
751 comes up, some boot loaders misbehave by putting the UBC to sleep in a
752 power saving state, which causes issues with things like ptrace().
757 bool "Default bootloader kernel arguments"
760 string "Initial kernel command string"
761 depends on CMDLINE_BOOL
762 default "console=ttySC1,115200"
768 # Even on SuperH devices which don't have an ISA bus,
769 # this variable helps the PCMCIA modules handle
770 # IRQ requesting properly -- Greg Banks.
772 # Though we're generally not interested in it when
773 # we're not using PCMCIA, so we make it dependent on
774 # PCMCIA outright. -- PFM.
777 depends on PCMCIA && HD6446X_SERIES
779 Find out whether you have ISA slots on your motherboard. ISA is the
780 name of a bus system, i.e. the way the CPU talks to the other stuff
781 inside your box. Other bus systems are PCI, EISA, MicroChannel
782 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
783 newer boards don't support it. If you have ISA, say Y, otherwise N.
788 The Extended Industry Standard Architecture (EISA) bus was
789 developed as an open alternative to the IBM MicroChannel bus.
791 The EISA bus provided some of the features of the IBM MicroChannel
792 bus while maintaining backward compatibility with cards made for
793 the older ISA bus. The EISA bus saw limited use between 1988 and
794 1995 when it was made obsolete by the PCI bus.
796 Say Y here if you are building a kernel for an EISA-based machine.
803 MicroChannel Architecture is found in some IBM PS/2 machines and
804 laptops. It is a bus system similar to PCI or ISA. See
805 <file:Documentation/mca.txt> (and especially the web page given
806 there) before attempting to build an MCA bus kernel.
812 tristate "SuperHyway Bus support"
813 depends on CPU_SUBTYPE_SH4_202
816 bool "Maple Bus support"
817 depends on SH_DREAMCAST
819 The Maple Bus is SEGA's serial communication bus for peripherals
820 on the Dreamcast. Without this bus support you won't be able to
821 get your Dreamcast keyboard etc to work, so most users
822 probably want to say 'Y' here, unless you are only using the
823 Dreamcast with a serial line terminal or a remote network
827 bool "Compact Flash Enabler support"
828 depends on SOLUTION_ENGINE || SH_SH03
830 Compact Flash is a small, removable mass storage device introduced
831 in 1994 originally as a PCMCIA device. If you say `Y' here, you
832 compile in support for Compact Flash devices directly connected to
833 a SuperH processor. A Compact Flash FAQ is available at
834 <http://www.compactflash.org/faqs/faq.htm>.
836 If your board has "Directly Connected" CompactFlash at area 5 or 6,
837 you may want to enable this option. Then, you can use CF as
838 primary IDE drive (only tested for SanDisk).
840 If in doubt, select 'N'.
843 prompt "Compact Flash Connection Area"
844 depends on CF_ENABLER
850 If your board has "Directly Connected" CompactFlash, You should
851 select the area where your CF is connected to.
853 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
854 - "Area6" if it is connected to Area 6 (0x18000000)
856 "Area6" will work for most boards.
865 depends on CF_ENABLER
866 default "0xb8000000" if CF_AREA6
867 default "0xb4000000" if CF_AREA5
869 source "arch/sh/drivers/pci/Kconfig"
871 source "drivers/pci/Kconfig"
873 source "drivers/pcmcia/Kconfig"
875 source "drivers/pci/hotplug/Kconfig"
879 menu "Executable file formats"
881 source "fs/Kconfig.binfmt"
885 menu "Power management options (EXPERIMENTAL)"
886 depends on EXPERIMENTAL && SYS_SUPPORTS_PM
888 config ARCH_SUSPEND_POSSIBLE
892 source kernel/power/Kconfig
898 source "drivers/Kconfig"
902 source "arch/sh/Kconfig.debug"
904 source "security/Kconfig"
906 source "crypto/Kconfig"