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"
165 config CPU_SUBTYPE_SH7206
166 bool "Support SH7206 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 # SH-4 Processor Support
223 config CPU_SUBTYPE_SH7750
224 bool "Support SH7750 processor"
227 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
229 config CPU_SUBTYPE_SH7091
230 bool "Support SH7091 processor"
233 Select SH7091 if you have an SH-4 based Sega device (such as
234 the Dreamcast, Naomi, and Naomi 2).
236 config CPU_SUBTYPE_SH7750R
237 bool "Support SH7750R processor"
240 config CPU_SUBTYPE_SH7750S
241 bool "Support SH7750S processor"
244 config CPU_SUBTYPE_SH7751
245 bool "Support SH7751 processor"
248 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
249 or if you have a HD6417751R CPU.
251 config CPU_SUBTYPE_SH7751R
252 bool "Support SH7751R processor"
255 config CPU_SUBTYPE_SH7760
256 bool "Support SH7760 processor"
259 config CPU_SUBTYPE_SH4_202
260 bool "Support SH4-202 processor"
263 # SH-4A Processor Support
265 config CPU_SUBTYPE_SH7770
266 bool "Support SH7770 processor"
269 config CPU_SUBTYPE_SH7780
270 bool "Support SH7780 processor"
273 config CPU_SUBTYPE_SH7785
274 bool "Support SH7785 processor"
277 select ARCH_SPARSEMEM_ENABLE
278 select SYS_SUPPORTS_NUMA
280 config CPU_SUBTYPE_SHX3
281 bool "Support SH-X3 processor"
284 select ARCH_SPARSEMEM_ENABLE
285 select SYS_SUPPORTS_NUMA
286 select SYS_SUPPORTS_SMP
288 # SH4AL-DSP Processor Support
290 config CPU_SUBTYPE_SH7343
291 bool "Support SH7343 processor"
294 config CPU_SUBTYPE_SH7722
295 bool "Support SH7722 processor"
298 select ARCH_SPARSEMEM_ENABLE
299 select SYS_SUPPORTS_NUMA
301 # SH-5 Processor Support
303 config CPU_SUBTYPE_SH5_101
304 bool "Support SH5-101 processor"
307 config CPU_SUBTYPE_SH5_103
308 bool "Support SH5-103 processor"
312 source "arch/sh/mm/Kconfig"
313 source "arch/sh/Kconfig.cpu"
317 config SOLUTION_ENGINE
320 config SH_SOLUTION_ENGINE
321 bool "SolutionEngine"
322 select SOLUTION_ENGINE
323 select CPU_HAS_IPR_IRQ
324 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
325 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
328 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
329 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
331 config SH_7206_SOLUTION_ENGINE
332 bool "SolutionEngine7206"
333 select SOLUTION_ENGINE
334 depends on CPU_SUBTYPE_SH7206
336 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
339 config SH_7619_SOLUTION_ENGINE
340 bool "SolutionEngine7619"
341 select SOLUTION_ENGINE
342 depends on CPU_SUBTYPE_SH7619
344 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
347 config SH_7722_SOLUTION_ENGINE
348 bool "SolutionEngine7722"
349 select SOLUTION_ENGINE
350 depends on CPU_SUBTYPE_SH7722
352 Select 7722 SolutionEngine if configuring for a Hitachi SH772
355 config SH_7751_SOLUTION_ENGINE
356 bool "SolutionEngine7751"
357 select SOLUTION_ENGINE
358 select CPU_HAS_IPR_IRQ
359 depends on CPU_SUBTYPE_SH7751
361 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
364 config SH_7780_SOLUTION_ENGINE
365 bool "SolutionEngine7780"
366 select SOLUTION_ENGINE
367 select SYS_SUPPORTS_PCI
368 depends on CPU_SUBTYPE_SH7780
370 Select 7780 SolutionEngine if configuring for a Renesas SH7780
373 config SH_7343_SOLUTION_ENGINE
374 bool "SolutionEngine7343"
375 select SOLUTION_ENGINE
376 depends on CPU_SUBTYPE_SH7343
378 Select 7343 SolutionEngine if configuring for a Hitachi
379 SH7343 (SH-Mobile 3AS) evaluation board.
381 config SH_7751_SYSTEMH
383 depends on CPU_SUBTYPE_SH7751R
385 Select SystemH if you are configuring for a Renesas SystemH
386 7751R evaluation board.
390 select SYS_SUPPORTS_APM_EMULATION
391 select HD6446X_SERIES
392 depends on CPU_SUBTYPE_SH7709
394 Select HP6XX if configuring for a HP jornada HP6xx.
395 More information (hardware only) at
396 <http://www.hp.com/jornada/>.
400 select SYS_SUPPORTS_PCI
401 depends on CPU_SUBTYPE_SH7091
403 Select Dreamcast if configuring for a SEGA Dreamcast.
404 More information at <http://www.linux-sh.org>
407 bool "Interface MPC1211"
408 depends on CPU_SUBTYPE_SH7751 && BROKEN
410 CTP/PCI-SH02 is a CPU module computer that is produced
411 by Interface Corporation.
412 More information at <http://www.interface.co.jp>
415 bool "Interface CTP/PCI-SH03"
416 depends on CPU_SUBTYPE_SH7751
417 select CPU_HAS_IPR_IRQ
418 select SYS_SUPPORTS_PCI
420 CTP/PCI-SH03 is a CPU module computer that is produced
421 by Interface Corporation.
422 More information at <http://www.interface.co.jp>
424 config SH_SECUREEDGE5410
425 bool "SecureEdge5410"
426 depends on CPU_SUBTYPE_SH7751R
427 select CPU_HAS_IPR_IRQ
428 select SYS_SUPPORTS_PCI
430 Select SecureEdge5410 if configuring for a SnapGear SH board.
431 This includes both the OEM SecureEdge products as well as the
434 config SH_HS7751RVOIP
436 depends on CPU_SUBTYPE_SH7751R
438 Select HS7751RVOIP if configuring for a Renesas Technology
442 bool "SH7710-VOIP-GW"
443 depends on CPU_SUBTYPE_SH7710
445 Select this option to build a kernel for the SH7710 based
450 depends on CPU_SUBTYPE_SH7751R
451 select SYS_SUPPORTS_PCI
453 Select RTS7751R2D if configuring for a Renesas Technology
454 Sales SH-Graphics board.
458 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
459 select SYS_SUPPORTS_PCI
463 depends on CPU_SUBTYPE_SH7705
465 config SH_SH4202_MICRODEV
466 bool "SH4-202 MicroDev"
467 depends on CPU_SUBTYPE_SH4_202
469 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
474 depends on CPU_SUBTYPE_SH7751R
475 select SYS_SUPPORTS_PCI
477 I-O DATA DEVICE, INC. "LANDISK Series" support.
481 depends on CPU_SUBTYPE_SH7751R
482 select CPU_HAS_IPR_IRQ
483 select SYS_SUPPORTS_PCI
485 Select Titan if you are configuring for a Nimble Microsystems
490 depends on CPU_SUBTYPE_SH7706
491 select CPU_HAS_IPR_IRQ
493 Select SHMIN if configuring for the SHMIN board.
497 depends on CPU_SUBTYPE_SH7751R
498 select SYS_SUPPORTS_PCI
500 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
503 bool "SH-X3 Prototype board"
504 depends on CPU_SUBTYPE_SHX3
506 config SH_MAGIC_PANEL_R2
507 bool "Magic Panel R2"
508 depends on CPU_SUBTYPE_SH7720
510 Select Magic Panel R2 if configuring for Magic Panel R2.
513 bool "Hitachi Cayman"
514 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
515 select SYS_SUPPORTS_PCI
519 source "arch/sh/boards/renesas/hs7751rvoip/Kconfig"
520 source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
521 source "arch/sh/boards/renesas/r7780rp/Kconfig"
522 source "arch/sh/boards/magicpanelr2/Kconfig"
524 menu "Timer and clock configuration"
527 bool "TMU timer support"
528 depends on CPU_SH3 || CPU_SH4
530 select GENERIC_CLOCKEVENTS
533 This enables the use of the TMU as the system timer.
536 bool "CMT timer support"
540 This enables the use of the CMT as the system timer.
543 bool "MTU2 timer support"
547 This enables the use of the MTU2 as the system timer.
551 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
552 default "86" if CPU_SUBTYPE_SH7619
553 default "140" if CPU_SUBTYPE_SH7206
557 int "Peripheral clock frequency (in Hz)"
558 default "27000000" if CPU_SUBTYPE_SH7343
559 default "31250000" if CPU_SUBTYPE_SH7619
560 default "32000000" if CPU_SUBTYPE_SH7722
561 default "33333333" if CPU_SUBTYPE_SH7770 || \
562 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
563 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206
564 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
565 default "66000000" if CPU_SUBTYPE_SH4_202
568 This option is used to specify the peripheral clock frequency.
569 This is necessary for determining the reference clock value on
570 platforms lacking an RTC.
573 int "CPU Mode Pin Setting"
575 default 6 if CPU_SUBTYPE_SH7206
576 default 5 if CPU_SUBTYPE_SH7619
579 MD2 - MD0 pin setting.
581 source "kernel/time/Kconfig"
585 menu "CPU Frequency scaling"
587 source "drivers/cpufreq/Kconfig"
590 tristate "SuperH CPU Frequency driver"
592 select CPU_FREQ_TABLE
594 This adds the cpufreq driver for SuperH. At present, only
595 the SH-4 is supported.
597 For details, take a look at <file:Documentation/cpu-freq>.
603 source "arch/sh/drivers/Kconfig"
609 depends on SH_MPC1211
612 menu "Kernel features"
614 source kernel/Kconfig.hz
617 bool "kexec system call (EXPERIMENTAL)"
618 depends on EXPERIMENTAL
620 kexec is a system call that implements the ability to shutdown your
621 current kernel, and to start another kernel. It is like a reboot
622 but it is independent of the system firmware. And like a reboot
623 you can start any kernel with it, not just Linux.
625 The name comes from the similarity to the exec system call.
627 It is an ongoing process to be certain the hardware in a machine
628 is properly shutdown, so do not be surprised if this code does not
629 initially work for you. It may help to enable device hotplugging
630 support. As of this writing the exact hardware interface is
631 strongly in flux, so no good recommendation can be made.
634 bool "kernel crash dumps (EXPERIMENTAL)"
635 depends on EXPERIMENTAL
637 Generate crash dump after being started by kexec.
638 This should be normally only set in special crash dump kernels
639 which are loaded in the main kernel with kexec-tools into
640 a specially reserved region and then later executed after
641 a crash by kdump/kexec. The crash dump kernel must be compiled
642 to a memory address not used by the main kernel using
645 For more details see Documentation/kdump/kdump.txt
648 bool "Symmetric multi-processing support"
649 depends on SYS_SUPPORTS_SMP
651 This enables support for systems with more than one CPU. If you have
652 a system with only one CPU, like most personal computers, say N. If
653 you have a system with more than one CPU, say Y.
655 If you say N here, the kernel will run on single and multiprocessor
656 machines, but will use only one CPU of a multiprocessor machine. If
657 you say Y here, the kernel will run on many, but not all,
658 singleprocessor machines. On a singleprocessor machine, the kernel
659 will run faster if you say N here.
661 People using multiprocessor machines who say Y here should also say
662 Y to "Enhanced Real Time Clock Support", below.
664 See also the <file:Documentation/smp.txt>,
665 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
666 at <http://www.tldp.org/docs.html#howto>.
668 If you don't know what to do here, say N.
671 int "Maximum number of CPUs (2-32)"
674 default "4" if CPU_SHX3
677 This allows you to specify the maximum number of CPUs which this
678 kernel will support. The maximum supported value is 32 and the
679 minimum value which makes sense is 2.
681 This is purely to save memory - each supported CPU adds
682 approximately eight kilobytes to the kernel image.
684 source "kernel/Kconfig.preempt"
690 This enables support for gUSA (general UserSpace Atomicity).
691 This is the default implementation for both UP and non-ll/sc
692 CPUs, and is used by the libc, amongst others.
694 For additional information, design information can be found
695 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
697 This should only be disabled for special cases where alternate
698 atomicity implementations exist.
704 config ZERO_PAGE_OFFSET
705 hex "Zero page offset"
706 default "0x00004000" if SH_MPC1211 || SH_SH03
707 default "0x00010000" if PAGE_SIZE_64KB
708 default "0x00002000" if PAGE_SIZE_8KB
711 This sets the default offset of zero page.
713 config BOOT_LINK_OFFSET
714 hex "Link address offset for booting"
717 This option allows you to set the link address offset of the zImage.
718 This can be useful if you are on a board which has a small amount of
722 bool "Wakeup UBC on startup"
723 depends on CPU_SH4 && !CPU_SH4A
725 Selecting this option will wakeup the User Break Controller (UBC) on
726 startup. Although the UBC is left in an awake state when the processor
727 comes up, some boot loaders misbehave by putting the UBC to sleep in a
728 power saving state, which causes issues with things like ptrace().
733 bool "Default bootloader kernel arguments"
736 string "Initial kernel command string"
737 depends on CMDLINE_BOOL
738 default "console=ttySC1,115200"
744 # Even on SuperH devices which don't have an ISA bus,
745 # this variable helps the PCMCIA modules handle
746 # IRQ requesting properly -- Greg Banks.
748 # Though we're generally not interested in it when
749 # we're not using PCMCIA, so we make it dependent on
750 # PCMCIA outright. -- PFM.
753 depends on PCMCIA && HD6446X_SERIES
755 Find out whether you have ISA slots on your motherboard. ISA is the
756 name of a bus system, i.e. the way the CPU talks to the other stuff
757 inside your box. Other bus systems are PCI, EISA, MicroChannel
758 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
759 newer boards don't support it. If you have ISA, say Y, otherwise N.
764 The Extended Industry Standard Architecture (EISA) bus was
765 developed as an open alternative to the IBM MicroChannel bus.
767 The EISA bus provided some of the features of the IBM MicroChannel
768 bus while maintaining backward compatibility with cards made for
769 the older ISA bus. The EISA bus saw limited use between 1988 and
770 1995 when it was made obsolete by the PCI bus.
772 Say Y here if you are building a kernel for an EISA-based machine.
779 MicroChannel Architecture is found in some IBM PS/2 machines and
780 laptops. It is a bus system similar to PCI or ISA. See
781 <file:Documentation/mca.txt> (and especially the web page given
782 there) before attempting to build an MCA bus kernel.
788 tristate "SuperHyway Bus support"
789 depends on CPU_SUBTYPE_SH4_202
792 bool "Maple Bus support"
793 depends on SH_DREAMCAST
795 The Maple Bus is SEGA's serial communication bus for peripherals
796 on the Dreamcast. Without this bus support you won't be able to
797 get your Dreamcast keyboard etc to work, so most users
798 probably want to say 'Y' here, unless you are only using the
799 Dreamcast with a serial line terminal or a remote network
803 bool "Compact Flash Enabler support"
804 depends on SOLUTION_ENGINE || SH_SH03
806 Compact Flash is a small, removable mass storage device introduced
807 in 1994 originally as a PCMCIA device. If you say `Y' here, you
808 compile in support for Compact Flash devices directly connected to
809 a SuperH processor. A Compact Flash FAQ is available at
810 <http://www.compactflash.org/faqs/faq.htm>.
812 If your board has "Directly Connected" CompactFlash at area 5 or 6,
813 you may want to enable this option. Then, you can use CF as
814 primary IDE drive (only tested for SanDisk).
816 If in doubt, select 'N'.
819 prompt "Compact Flash Connection Area"
820 depends on CF_ENABLER
826 If your board has "Directly Connected" CompactFlash, You should
827 select the area where your CF is connected to.
829 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
830 - "Area6" if it is connected to Area 6 (0x18000000)
832 "Area6" will work for most boards.
841 depends on CF_ENABLER
842 default "0xb8000000" if CF_AREA6
843 default "0xb4000000" if CF_AREA5
845 source "arch/sh/drivers/pci/Kconfig"
847 source "drivers/pci/Kconfig"
849 source "drivers/pcmcia/Kconfig"
851 source "drivers/pci/hotplug/Kconfig"
855 menu "Executable file formats"
857 source "fs/Kconfig.binfmt"
861 menu "Power management options (EXPERIMENTAL)"
862 depends on EXPERIMENTAL && SYS_SUPPORTS_PM
864 source kernel/power/Kconfig
870 source "drivers/Kconfig"
874 source "kernel/Kconfig.instrumentation"
876 source "arch/sh/Kconfig.debug"
878 source "security/Kconfig"
880 source "crypto/Kconfig"