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 config CPU_SUBTYPE_SH7263
170 bool "Support SH7263 processor"
173 # SH-3 Processor Support
175 config CPU_SUBTYPE_SH7705
176 bool "Support SH7705 processor"
179 config CPU_SUBTYPE_SH7706
180 bool "Support SH7706 processor"
183 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
185 config CPU_SUBTYPE_SH7707
186 bool "Support SH7707 processor"
189 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
191 config CPU_SUBTYPE_SH7708
192 bool "Support SH7708 processor"
195 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
196 if you have a 100 Mhz SH-3 HD6417708R CPU.
198 config CPU_SUBTYPE_SH7709
199 bool "Support SH7709 processor"
202 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
204 config CPU_SUBTYPE_SH7710
205 bool "Support SH7710 processor"
209 Select SH7710 if you have a SH3-DSP SH7710 CPU.
211 config CPU_SUBTYPE_SH7712
212 bool "Support SH7712 processor"
216 Select SH7712 if you have a SH3-DSP SH7712 CPU.
218 config CPU_SUBTYPE_SH7720
219 bool "Support SH7720 processor"
223 Select SH7720 if you have a SH3-DSP SH7720 CPU.
225 # SH-4 Processor Support
227 config CPU_SUBTYPE_SH7750
228 bool "Support SH7750 processor"
231 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
233 config CPU_SUBTYPE_SH7091
234 bool "Support SH7091 processor"
237 Select SH7091 if you have an SH-4 based Sega device (such as
238 the Dreamcast, Naomi, and Naomi 2).
240 config CPU_SUBTYPE_SH7750R
241 bool "Support SH7750R processor"
244 config CPU_SUBTYPE_SH7750S
245 bool "Support SH7750S processor"
248 config CPU_SUBTYPE_SH7751
249 bool "Support SH7751 processor"
252 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
253 or if you have a HD6417751R CPU.
255 config CPU_SUBTYPE_SH7751R
256 bool "Support SH7751R processor"
259 config CPU_SUBTYPE_SH7760
260 bool "Support SH7760 processor"
263 config CPU_SUBTYPE_SH4_202
264 bool "Support SH4-202 processor"
267 # SH-4A Processor Support
269 config CPU_SUBTYPE_SH7770
270 bool "Support SH7770 processor"
273 config CPU_SUBTYPE_SH7780
274 bool "Support SH7780 processor"
277 config CPU_SUBTYPE_SH7785
278 bool "Support SH7785 processor"
281 select ARCH_SPARSEMEM_ENABLE
282 select SYS_SUPPORTS_NUMA
284 config CPU_SUBTYPE_SHX3
285 bool "Support SH-X3 processor"
288 select ARCH_SPARSEMEM_ENABLE
289 select SYS_SUPPORTS_NUMA
290 select SYS_SUPPORTS_SMP
292 # SH4AL-DSP Processor Support
294 config CPU_SUBTYPE_SH7343
295 bool "Support SH7343 processor"
298 config CPU_SUBTYPE_SH7722
299 bool "Support SH7722 processor"
302 select ARCH_SPARSEMEM_ENABLE
303 select SYS_SUPPORTS_NUMA
305 # SH-5 Processor Support
307 config CPU_SUBTYPE_SH5_101
308 bool "Support SH5-101 processor"
311 config CPU_SUBTYPE_SH5_103
312 bool "Support SH5-103 processor"
316 source "arch/sh/mm/Kconfig"
317 source "arch/sh/Kconfig.cpu"
321 config SOLUTION_ENGINE
324 config SH_SOLUTION_ENGINE
325 bool "SolutionEngine"
326 select SOLUTION_ENGINE
327 select CPU_HAS_IPR_IRQ
328 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
329 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
332 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
333 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
335 config SH_7206_SOLUTION_ENGINE
336 bool "SolutionEngine7206"
337 select SOLUTION_ENGINE
338 depends on CPU_SUBTYPE_SH7206
340 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
343 config SH_7619_SOLUTION_ENGINE
344 bool "SolutionEngine7619"
345 select SOLUTION_ENGINE
346 depends on CPU_SUBTYPE_SH7619
348 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
351 config SH_7722_SOLUTION_ENGINE
352 bool "SolutionEngine7722"
353 select SOLUTION_ENGINE
354 depends on CPU_SUBTYPE_SH7722
356 Select 7722 SolutionEngine if configuring for a Hitachi SH772
359 config SH_7751_SOLUTION_ENGINE
360 bool "SolutionEngine7751"
361 select SOLUTION_ENGINE
362 select CPU_HAS_IPR_IRQ
363 depends on CPU_SUBTYPE_SH7751
365 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
368 config SH_7780_SOLUTION_ENGINE
369 bool "SolutionEngine7780"
370 select SOLUTION_ENGINE
371 select SYS_SUPPORTS_PCI
372 depends on CPU_SUBTYPE_SH7780
374 Select 7780 SolutionEngine if configuring for a Renesas SH7780
377 config SH_7343_SOLUTION_ENGINE
378 bool "SolutionEngine7343"
379 select SOLUTION_ENGINE
380 depends on CPU_SUBTYPE_SH7343
382 Select 7343 SolutionEngine if configuring for a Hitachi
383 SH7343 (SH-Mobile 3AS) evaluation board.
385 config SH_7751_SYSTEMH
387 depends on CPU_SUBTYPE_SH7751R
389 Select SystemH if you are configuring for a Renesas SystemH
390 7751R evaluation board.
394 select SYS_SUPPORTS_APM_EMULATION
395 select HD6446X_SERIES
396 depends on CPU_SUBTYPE_SH7709
398 Select HP6XX if configuring for a HP jornada HP6xx.
399 More information (hardware only) at
400 <http://www.hp.com/jornada/>.
404 select SYS_SUPPORTS_PCI
405 depends on CPU_SUBTYPE_SH7091
407 Select Dreamcast if configuring for a SEGA Dreamcast.
408 More information at <http://www.linux-sh.org>
411 bool "Interface MPC1211"
412 depends on CPU_SUBTYPE_SH7751 && BROKEN
414 CTP/PCI-SH02 is a CPU module computer that is produced
415 by Interface Corporation.
416 More information at <http://www.interface.co.jp>
419 bool "Interface CTP/PCI-SH03"
420 depends on CPU_SUBTYPE_SH7751
421 select CPU_HAS_IPR_IRQ
422 select SYS_SUPPORTS_PCI
424 CTP/PCI-SH03 is a CPU module computer that is produced
425 by Interface Corporation.
426 More information at <http://www.interface.co.jp>
428 config SH_SECUREEDGE5410
429 bool "SecureEdge5410"
430 depends on CPU_SUBTYPE_SH7751R
431 select CPU_HAS_IPR_IRQ
432 select SYS_SUPPORTS_PCI
434 Select SecureEdge5410 if configuring for a SnapGear SH board.
435 This includes both the OEM SecureEdge products as well as the
438 config SH_HS7751RVOIP
440 depends on CPU_SUBTYPE_SH7751R
442 Select HS7751RVOIP if configuring for a Renesas Technology
446 bool "SH7710-VOIP-GW"
447 depends on CPU_SUBTYPE_SH7710
449 Select this option to build a kernel for the SH7710 based
454 depends on CPU_SUBTYPE_SH7751R
455 select SYS_SUPPORTS_PCI
457 Select RTS7751R2D if configuring for a Renesas Technology
458 Sales SH-Graphics board.
462 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
463 select SYS_SUPPORTS_PCI
467 depends on CPU_SUBTYPE_SH7705
469 config SH_SH4202_MICRODEV
470 bool "SH4-202 MicroDev"
471 depends on CPU_SUBTYPE_SH4_202
473 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
478 depends on CPU_SUBTYPE_SH7751R
479 select SYS_SUPPORTS_PCI
481 I-O DATA DEVICE, INC. "LANDISK Series" support.
485 depends on CPU_SUBTYPE_SH7751R
486 select CPU_HAS_IPR_IRQ
487 select SYS_SUPPORTS_PCI
489 Select Titan if you are configuring for a Nimble Microsystems
494 depends on CPU_SUBTYPE_SH7706
495 select CPU_HAS_IPR_IRQ
497 Select SHMIN if configuring for the SHMIN board.
501 depends on CPU_SUBTYPE_SH7751R
502 select SYS_SUPPORTS_PCI
504 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
507 bool "SH-X3 Prototype board"
508 depends on CPU_SUBTYPE_SHX3
510 config SH_MAGIC_PANEL_R2
511 bool "Magic Panel R2"
512 depends on CPU_SUBTYPE_SH7720
514 Select Magic Panel R2 if configuring for Magic Panel R2.
517 bool "Hitachi Cayman"
518 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
519 select SYS_SUPPORTS_PCI
523 source "arch/sh/boards/renesas/hs7751rvoip/Kconfig"
524 source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
525 source "arch/sh/boards/renesas/r7780rp/Kconfig"
526 source "arch/sh/boards/magicpanelr2/Kconfig"
528 menu "Timer and clock configuration"
531 bool "TMU timer support"
532 depends on CPU_SH3 || CPU_SH4
534 select GENERIC_CLOCKEVENTS
537 This enables the use of the TMU as the system timer.
540 bool "CMT timer support"
544 This enables the use of the CMT as the system timer.
547 bool "MTU2 timer support"
551 This enables the use of the MTU2 as the system timer.
555 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
556 default "86" if CPU_SUBTYPE_SH7619
557 default "140" if CPU_SUBTYPE_SH7206
561 int "Peripheral clock frequency (in Hz)"
562 default "27000000" if CPU_SUBTYPE_SH7343
563 default "31250000" if CPU_SUBTYPE_SH7619
564 default "32000000" if CPU_SUBTYPE_SH7722
565 default "33333333" if CPU_SUBTYPE_SH7770 || \
566 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
567 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
569 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
570 default "66000000" if CPU_SUBTYPE_SH4_202
573 This option is used to specify the peripheral clock frequency.
574 This is necessary for determining the reference clock value on
575 platforms lacking an RTC.
578 int "CPU Mode Pin Setting"
580 default 6 if CPU_SUBTYPE_SH7206
581 default 5 if CPU_SUBTYPE_SH7619
584 MD2 - MD0 pin setting.
586 source "kernel/time/Kconfig"
590 menu "CPU Frequency scaling"
592 source "drivers/cpufreq/Kconfig"
595 tristate "SuperH CPU Frequency driver"
597 select CPU_FREQ_TABLE
599 This adds the cpufreq driver for SuperH. At present, only
600 the SH-4 is supported.
602 For details, take a look at <file:Documentation/cpu-freq>.
608 source "arch/sh/drivers/Kconfig"
614 depends on SH_MPC1211
617 menu "Kernel features"
619 source kernel/Kconfig.hz
622 bool "kexec system call (EXPERIMENTAL)"
623 depends on EXPERIMENTAL
625 kexec is a system call that implements the ability to shutdown your
626 current kernel, and to start another kernel. It is like a reboot
627 but it is independent of the system firmware. And like a reboot
628 you can start any kernel with it, not just Linux.
630 The name comes from the similarity to the exec system call.
632 It is an ongoing process to be certain the hardware in a machine
633 is properly shutdown, so do not be surprised if this code does not
634 initially work for you. It may help to enable device hotplugging
635 support. As of this writing the exact hardware interface is
636 strongly in flux, so no good recommendation can be made.
639 bool "kernel crash dumps (EXPERIMENTAL)"
640 depends on EXPERIMENTAL
642 Generate crash dump after being started by kexec.
643 This should be normally only set in special crash dump kernels
644 which are loaded in the main kernel with kexec-tools into
645 a specially reserved region and then later executed after
646 a crash by kdump/kexec. The crash dump kernel must be compiled
647 to a memory address not used by the main kernel using
650 For more details see Documentation/kdump/kdump.txt
653 bool "Symmetric multi-processing support"
654 depends on SYS_SUPPORTS_SMP
656 This enables support for systems with more than one CPU. If you have
657 a system with only one CPU, like most personal computers, say N. If
658 you have a system with more than one CPU, say Y.
660 If you say N here, the kernel will run on single and multiprocessor
661 machines, but will use only one CPU of a multiprocessor machine. If
662 you say Y here, the kernel will run on many, but not all,
663 singleprocessor machines. On a singleprocessor machine, the kernel
664 will run faster if you say N here.
666 People using multiprocessor machines who say Y here should also say
667 Y to "Enhanced Real Time Clock Support", below.
669 See also the <file:Documentation/smp.txt>,
670 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
671 at <http://www.tldp.org/docs.html#howto>.
673 If you don't know what to do here, say N.
676 int "Maximum number of CPUs (2-32)"
679 default "4" if CPU_SHX3
682 This allows you to specify the maximum number of CPUs which this
683 kernel will support. The maximum supported value is 32 and the
684 minimum value which makes sense is 2.
686 This is purely to save memory - each supported CPU adds
687 approximately eight kilobytes to the kernel image.
689 source "kernel/Kconfig.preempt"
695 This enables support for gUSA (general UserSpace Atomicity).
696 This is the default implementation for both UP and non-ll/sc
697 CPUs, and is used by the libc, amongst others.
699 For additional information, design information can be found
700 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
702 This should only be disabled for special cases where alternate
703 atomicity implementations exist.
709 config ZERO_PAGE_OFFSET
710 hex "Zero page offset"
711 default "0x00004000" if SH_MPC1211 || SH_SH03
712 default "0x00010000" if PAGE_SIZE_64KB
713 default "0x00002000" if PAGE_SIZE_8KB
716 This sets the default offset of zero page.
718 config BOOT_LINK_OFFSET
719 hex "Link address offset for booting"
722 This option allows you to set the link address offset of the zImage.
723 This can be useful if you are on a board which has a small amount of
727 bool "Wakeup UBC on startup"
728 depends on CPU_SH4 && !CPU_SH4A
730 Selecting this option will wakeup the User Break Controller (UBC) on
731 startup. Although the UBC is left in an awake state when the processor
732 comes up, some boot loaders misbehave by putting the UBC to sleep in a
733 power saving state, which causes issues with things like ptrace().
738 bool "Default bootloader kernel arguments"
741 string "Initial kernel command string"
742 depends on CMDLINE_BOOL
743 default "console=ttySC1,115200"
749 # Even on SuperH devices which don't have an ISA bus,
750 # this variable helps the PCMCIA modules handle
751 # IRQ requesting properly -- Greg Banks.
753 # Though we're generally not interested in it when
754 # we're not using PCMCIA, so we make it dependent on
755 # PCMCIA outright. -- PFM.
758 depends on PCMCIA && HD6446X_SERIES
760 Find out whether you have ISA slots on your motherboard. ISA is the
761 name of a bus system, i.e. the way the CPU talks to the other stuff
762 inside your box. Other bus systems are PCI, EISA, MicroChannel
763 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
764 newer boards don't support it. If you have ISA, say Y, otherwise N.
769 The Extended Industry Standard Architecture (EISA) bus was
770 developed as an open alternative to the IBM MicroChannel bus.
772 The EISA bus provided some of the features of the IBM MicroChannel
773 bus while maintaining backward compatibility with cards made for
774 the older ISA bus. The EISA bus saw limited use between 1988 and
775 1995 when it was made obsolete by the PCI bus.
777 Say Y here if you are building a kernel for an EISA-based machine.
784 MicroChannel Architecture is found in some IBM PS/2 machines and
785 laptops. It is a bus system similar to PCI or ISA. See
786 <file:Documentation/mca.txt> (and especially the web page given
787 there) before attempting to build an MCA bus kernel.
793 tristate "SuperHyway Bus support"
794 depends on CPU_SUBTYPE_SH4_202
797 bool "Maple Bus support"
798 depends on SH_DREAMCAST
800 The Maple Bus is SEGA's serial communication bus for peripherals
801 on the Dreamcast. Without this bus support you won't be able to
802 get your Dreamcast keyboard etc to work, so most users
803 probably want to say 'Y' here, unless you are only using the
804 Dreamcast with a serial line terminal or a remote network
808 bool "Compact Flash Enabler support"
809 depends on SOLUTION_ENGINE || SH_SH03
811 Compact Flash is a small, removable mass storage device introduced
812 in 1994 originally as a PCMCIA device. If you say `Y' here, you
813 compile in support for Compact Flash devices directly connected to
814 a SuperH processor. A Compact Flash FAQ is available at
815 <http://www.compactflash.org/faqs/faq.htm>.
817 If your board has "Directly Connected" CompactFlash at area 5 or 6,
818 you may want to enable this option. Then, you can use CF as
819 primary IDE drive (only tested for SanDisk).
821 If in doubt, select 'N'.
824 prompt "Compact Flash Connection Area"
825 depends on CF_ENABLER
831 If your board has "Directly Connected" CompactFlash, You should
832 select the area where your CF is connected to.
834 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
835 - "Area6" if it is connected to Area 6 (0x18000000)
837 "Area6" will work for most boards.
846 depends on CF_ENABLER
847 default "0xb8000000" if CF_AREA6
848 default "0xb4000000" if CF_AREA5
850 source "arch/sh/drivers/pci/Kconfig"
852 source "drivers/pci/Kconfig"
854 source "drivers/pcmcia/Kconfig"
856 source "drivers/pci/hotplug/Kconfig"
860 menu "Executable file formats"
862 source "fs/Kconfig.binfmt"
866 menu "Power management options (EXPERIMENTAL)"
867 depends on EXPERIMENTAL && SYS_SUPPORTS_PM
869 source kernel/power/Kconfig
875 source "drivers/Kconfig"
879 source "kernel/Kconfig.instrumentation"
881 source "arch/sh/Kconfig.debug"
883 source "security/Kconfig"
885 source "crypto/Kconfig"