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_SH7763
269 bool "Support SH7763 processor"
272 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
274 config CPU_SUBTYPE_SH7770
275 bool "Support SH7770 processor"
278 config CPU_SUBTYPE_SH7780
279 bool "Support SH7780 processor"
282 config CPU_SUBTYPE_SH7785
283 bool "Support SH7785 processor"
286 select ARCH_SPARSEMEM_ENABLE
287 select SYS_SUPPORTS_NUMA
289 config CPU_SUBTYPE_SHX3
290 bool "Support SH-X3 processor"
293 select ARCH_SPARSEMEM_ENABLE
294 select SYS_SUPPORTS_NUMA
295 select SYS_SUPPORTS_SMP
297 # SH4AL-DSP Processor Support
299 config CPU_SUBTYPE_SH7343
300 bool "Support SH7343 processor"
303 config CPU_SUBTYPE_SH7722
304 bool "Support SH7722 processor"
307 select ARCH_SPARSEMEM_ENABLE
308 select SYS_SUPPORTS_NUMA
310 # SH-5 Processor Support
312 config CPU_SUBTYPE_SH5_101
313 bool "Support SH5-101 processor"
316 config CPU_SUBTYPE_SH5_103
317 bool "Support SH5-103 processor"
321 source "arch/sh/mm/Kconfig"
322 source "arch/sh/Kconfig.cpu"
326 config SOLUTION_ENGINE
329 config SH_SOLUTION_ENGINE
330 bool "SolutionEngine"
331 select SOLUTION_ENGINE
332 select CPU_HAS_IPR_IRQ
333 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
334 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
337 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
338 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
340 config SH_7206_SOLUTION_ENGINE
341 bool "SolutionEngine7206"
342 select SOLUTION_ENGINE
343 depends on CPU_SUBTYPE_SH7206
345 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
348 config SH_7619_SOLUTION_ENGINE
349 bool "SolutionEngine7619"
350 select SOLUTION_ENGINE
351 depends on CPU_SUBTYPE_SH7619
353 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
356 config SH_7722_SOLUTION_ENGINE
357 bool "SolutionEngine7722"
358 select SOLUTION_ENGINE
359 depends on CPU_SUBTYPE_SH7722
361 Select 7722 SolutionEngine if configuring for a Hitachi SH772
364 config SH_7751_SOLUTION_ENGINE
365 bool "SolutionEngine7751"
366 select SOLUTION_ENGINE
367 select CPU_HAS_IPR_IRQ
368 depends on CPU_SUBTYPE_SH7751
370 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
373 config SH_7780_SOLUTION_ENGINE
374 bool "SolutionEngine7780"
375 select SOLUTION_ENGINE
376 select SYS_SUPPORTS_PCI
377 depends on CPU_SUBTYPE_SH7780
379 Select 7780 SolutionEngine if configuring for a Renesas SH7780
382 config SH_7343_SOLUTION_ENGINE
383 bool "SolutionEngine7343"
384 select SOLUTION_ENGINE
385 depends on CPU_SUBTYPE_SH7343
387 Select 7343 SolutionEngine if configuring for a Hitachi
388 SH7343 (SH-Mobile 3AS) evaluation board.
390 config SH_7751_SYSTEMH
392 depends on CPU_SUBTYPE_SH7751R
394 Select SystemH if you are configuring for a Renesas SystemH
395 7751R evaluation board.
399 select SYS_SUPPORTS_APM_EMULATION
400 select HD6446X_SERIES
401 depends on CPU_SUBTYPE_SH7709
403 Select HP6XX if configuring for a HP jornada HP6xx.
404 More information (hardware only) at
405 <http://www.hp.com/jornada/>.
409 select SYS_SUPPORTS_PCI
410 depends on CPU_SUBTYPE_SH7091
412 Select Dreamcast if configuring for a SEGA Dreamcast.
413 More information at <http://www.linux-sh.org>
416 bool "Interface MPC1211"
417 depends on CPU_SUBTYPE_SH7751 && BROKEN
419 CTP/PCI-SH02 is a CPU module computer that is produced
420 by Interface Corporation.
421 More information at <http://www.interface.co.jp>
424 bool "Interface CTP/PCI-SH03"
425 depends on CPU_SUBTYPE_SH7751
426 select CPU_HAS_IPR_IRQ
427 select SYS_SUPPORTS_PCI
429 CTP/PCI-SH03 is a CPU module computer that is produced
430 by Interface Corporation.
431 More information at <http://www.interface.co.jp>
433 config SH_SECUREEDGE5410
434 bool "SecureEdge5410"
435 depends on CPU_SUBTYPE_SH7751R
436 select CPU_HAS_IPR_IRQ
437 select SYS_SUPPORTS_PCI
439 Select SecureEdge5410 if configuring for a SnapGear SH board.
440 This includes both the OEM SecureEdge products as well as the
444 bool "SH7710-VOIP-GW"
445 depends on CPU_SUBTYPE_SH7710
447 Select this option to build a kernel for the SH7710 based
452 depends on CPU_SUBTYPE_SH7751R
453 select SYS_SUPPORTS_PCI
455 Select RTS7751R2D if configuring for a Renesas Technology
456 Sales SH-Graphics board.
460 depends on CPU_SUBTYPE_SH7780
461 select SYS_SUPPORTS_PCI
463 Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
468 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
469 select SYS_SUPPORTS_PCI
473 depends on CPU_SUBTYPE_SH7705
475 config SH_SH4202_MICRODEV
476 bool "SH4-202 MicroDev"
477 depends on CPU_SUBTYPE_SH4_202
479 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
484 depends on CPU_SUBTYPE_SH7751R
485 select SYS_SUPPORTS_PCI
487 I-O DATA DEVICE, INC. "LANDISK Series" support.
491 depends on CPU_SUBTYPE_SH7751R
492 select CPU_HAS_IPR_IRQ
493 select SYS_SUPPORTS_PCI
495 Select Titan if you are configuring for a Nimble Microsystems
500 depends on CPU_SUBTYPE_SH7706
501 select CPU_HAS_IPR_IRQ
503 Select SHMIN if configuring for the SHMIN board.
507 depends on CPU_SUBTYPE_SH7751R
508 select SYS_SUPPORTS_PCI
510 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
513 bool "SH-X3 Prototype board"
514 depends on CPU_SUBTYPE_SHX3
516 config SH_MAGIC_PANEL_R2
517 bool "Magic Panel R2"
518 depends on CPU_SUBTYPE_SH7720
520 Select Magic Panel R2 if configuring for Magic Panel R2.
523 bool "Hitachi Cayman"
524 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
525 select SYS_SUPPORTS_PCI
529 source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
530 source "arch/sh/boards/renesas/r7780rp/Kconfig"
531 source "arch/sh/boards/renesas/sdk7780/Kconfig"
532 source "arch/sh/boards/magicpanelr2/Kconfig"
534 menu "Timer and clock configuration"
538 prompt "TMU timer support"
539 depends on CPU_SH3 || CPU_SH4
541 select GENERIC_CLOCKEVENTS
543 This enables the use of the TMU as the system timer.
547 prompt "CMT timer support"
550 This enables the use of the CMT as the system timer.
554 prompt "MTU2 timer support"
557 This enables the use of the MTU2 as the system timer.
561 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
563 default "86" if CPU_SUBTYPE_SH7619
564 default "140" if CPU_SUBTYPE_SH7206
568 int "Peripheral clock frequency (in Hz)"
569 default "27000000" if CPU_SUBTYPE_SH7343
570 default "31250000" if CPU_SUBTYPE_SH7619
571 default "32000000" if CPU_SUBTYPE_SH7722
572 default "33333333" if CPU_SUBTYPE_SH7770 || \
573 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
574 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
576 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
577 default "66000000" if CPU_SUBTYPE_SH4_202
580 This option is used to specify the peripheral clock frequency.
581 This is necessary for determining the reference clock value on
582 platforms lacking an RTC.
585 int "CPU Mode Pin Setting"
587 default 6 if CPU_SUBTYPE_SH7206
588 default 5 if CPU_SUBTYPE_SH7619
591 MD2 - MD0 pin setting.
593 source "kernel/time/Kconfig"
597 menu "CPU Frequency scaling"
599 source "drivers/cpufreq/Kconfig"
602 tristate "SuperH CPU Frequency driver"
604 select CPU_FREQ_TABLE
606 This adds the cpufreq driver for SuperH. At present, only
607 the SH-4 is supported.
609 For details, take a look at <file:Documentation/cpu-freq>.
615 source "arch/sh/drivers/Kconfig"
621 depends on SH_MPC1211
623 menu "Kernel features"
625 source kernel/Kconfig.hz
628 bool "kexec system call (EXPERIMENTAL)"
629 depends on EXPERIMENTAL
631 kexec is a system call that implements the ability to shutdown your
632 current kernel, and to start another kernel. It is like a reboot
633 but it is independent of the system firmware. And like a reboot
634 you can start any kernel with it, not just Linux.
636 The name comes from the similarity to the exec system call.
638 It is an ongoing process to be certain the hardware in a machine
639 is properly shutdown, so do not be surprised if this code does not
640 initially work for you. It may help to enable device hotplugging
641 support. As of this writing the exact hardware interface is
642 strongly in flux, so no good recommendation can be made.
645 bool "kernel crash dumps (EXPERIMENTAL)"
646 depends on EXPERIMENTAL
648 Generate crash dump after being started by kexec.
649 This should be normally only set in special crash dump kernels
650 which are loaded in the main kernel with kexec-tools into
651 a specially reserved region and then later executed after
652 a crash by kdump/kexec. The crash dump kernel must be compiled
653 to a memory address not used by the main kernel using
656 For more details see Documentation/kdump/kdump.txt
659 bool "Symmetric multi-processing support"
660 depends on SYS_SUPPORTS_SMP
662 This enables support for systems with more than one CPU. If you have
663 a system with only one CPU, like most personal computers, say N. If
664 you have a system with more than one CPU, say Y.
666 If you say N here, the kernel will run on single and multiprocessor
667 machines, but will use only one CPU of a multiprocessor machine. If
668 you say Y here, the kernel will run on many, but not all,
669 singleprocessor machines. On a singleprocessor machine, the kernel
670 will run faster if you say N here.
672 People using multiprocessor machines who say Y here should also say
673 Y to "Enhanced Real Time Clock Support", below.
675 See also the <file:Documentation/smp.txt>,
676 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
677 at <http://www.tldp.org/docs.html#howto>.
679 If you don't know what to do here, say N.
682 int "Maximum number of CPUs (2-32)"
685 default "4" if CPU_SHX3
688 This allows you to specify the maximum number of CPUs which this
689 kernel will support. The maximum supported value is 32 and the
690 minimum value which makes sense is 2.
692 This is purely to save memory - each supported CPU adds
693 approximately eight kilobytes to the kernel image.
695 source "kernel/Kconfig.preempt"
699 depends on !SMP && SUPERH32
701 This enables support for gUSA (general UserSpace Atomicity).
702 This is the default implementation for both UP and non-ll/sc
703 CPUs, and is used by the libc, amongst others.
705 For additional information, design information can be found
706 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
708 This should only be disabled for special cases where alternate
709 atomicity implementations exist.
712 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
713 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
715 Enabling this option will allow the kernel to implement some
716 atomic operations using a software implemention of load-locked/
717 store-conditional (LLSC). On machines which do not have hardware
718 LLSC, this should be more efficient than the other alternative of
719 disabling insterrupts around the atomic sequence.
725 config ZERO_PAGE_OFFSET
726 hex "Zero page offset"
727 default "0x00004000" if SH_MPC1211 || SH_SH03
728 default "0x00010000" if PAGE_SIZE_64KB
729 default "0x00002000" if PAGE_SIZE_8KB
732 This sets the default offset of zero page.
734 config BOOT_LINK_OFFSET
735 hex "Link address offset for booting"
738 This option allows you to set the link address offset of the zImage.
739 This can be useful if you are on a board which has a small amount of
743 bool "Wakeup UBC on startup"
744 depends on CPU_SH4 && !CPU_SH4A
746 Selecting this option will wakeup the User Break Controller (UBC) on
747 startup. Although the UBC is left in an awake state when the processor
748 comes up, some boot loaders misbehave by putting the UBC to sleep in a
749 power saving state, which causes issues with things like ptrace().
754 bool "Default bootloader kernel arguments"
757 string "Initial kernel command string"
758 depends on CMDLINE_BOOL
759 default "console=ttySC1,115200"
765 # Even on SuperH devices which don't have an ISA bus,
766 # this variable helps the PCMCIA modules handle
767 # IRQ requesting properly -- Greg Banks.
769 # Though we're generally not interested in it when
770 # we're not using PCMCIA, so we make it dependent on
771 # PCMCIA outright. -- PFM.
774 depends on PCMCIA && HD6446X_SERIES
776 Find out whether you have ISA slots on your motherboard. ISA is the
777 name of a bus system, i.e. the way the CPU talks to the other stuff
778 inside your box. Other bus systems are PCI, EISA, MicroChannel
779 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
780 newer boards don't support it. If you have ISA, say Y, otherwise N.
785 The Extended Industry Standard Architecture (EISA) bus was
786 developed as an open alternative to the IBM MicroChannel bus.
788 The EISA bus provided some of the features of the IBM MicroChannel
789 bus while maintaining backward compatibility with cards made for
790 the older ISA bus. The EISA bus saw limited use between 1988 and
791 1995 when it was made obsolete by the PCI bus.
793 Say Y here if you are building a kernel for an EISA-based machine.
800 MicroChannel Architecture is found in some IBM PS/2 machines and
801 laptops. It is a bus system similar to PCI or ISA. See
802 <file:Documentation/mca.txt> (and especially the web page given
803 there) before attempting to build an MCA bus kernel.
809 tristate "SuperHyway Bus support"
810 depends on CPU_SUBTYPE_SH4_202
813 bool "Maple Bus support"
814 depends on SH_DREAMCAST
816 The Maple Bus is SEGA's serial communication bus for peripherals
817 on the Dreamcast. Without this bus support you won't be able to
818 get your Dreamcast keyboard etc to work, so most users
819 probably want to say 'Y' here, unless you are only using the
820 Dreamcast with a serial line terminal or a remote network
824 bool "Compact Flash Enabler support"
825 depends on SOLUTION_ENGINE || SH_SH03
827 Compact Flash is a small, removable mass storage device introduced
828 in 1994 originally as a PCMCIA device. If you say `Y' here, you
829 compile in support for Compact Flash devices directly connected to
830 a SuperH processor. A Compact Flash FAQ is available at
831 <http://www.compactflash.org/faqs/faq.htm>.
833 If your board has "Directly Connected" CompactFlash at area 5 or 6,
834 you may want to enable this option. Then, you can use CF as
835 primary IDE drive (only tested for SanDisk).
837 If in doubt, select 'N'.
840 prompt "Compact Flash Connection Area"
841 depends on CF_ENABLER
847 If your board has "Directly Connected" CompactFlash, You should
848 select the area where your CF is connected to.
850 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
851 - "Area6" if it is connected to Area 6 (0x18000000)
853 "Area6" will work for most boards.
862 depends on CF_ENABLER
863 default "0xb8000000" if CF_AREA6
864 default "0xb4000000" if CF_AREA5
866 source "arch/sh/drivers/pci/Kconfig"
868 source "drivers/pci/Kconfig"
870 source "drivers/pcmcia/Kconfig"
872 source "drivers/pci/hotplug/Kconfig"
876 menu "Executable file formats"
878 source "fs/Kconfig.binfmt"
882 menu "Power management options (EXPERIMENTAL)"
883 depends on EXPERIMENTAL && SYS_SUPPORTS_PM
885 source kernel/power/Kconfig
891 source "drivers/Kconfig"
895 source "kernel/Kconfig.instrumentation"
897 source "arch/sh/Kconfig.debug"
899 source "security/Kconfig"
901 source "crypto/Kconfig"