aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig81
1 files changed, 26 insertions, 55 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 80119b3398e..f32a5197128 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -13,6 +13,7 @@ config SUPERH
13 select HAVE_OPROFILE 13 select HAVE_OPROFILE
14 select HAVE_GENERIC_DMA_COHERENT 14 select HAVE_GENERIC_DMA_COHERENT
15 select HAVE_IOREMAP_PROT if MMU 15 select HAVE_IOREMAP_PROT if MMU
16 select HAVE_ARCH_TRACEHOOK
16 help 17 help
17 The SuperH is a RISC processor targeted for use in embedded systems 18 The SuperH is a RISC processor targeted for use in embedded systems
18 and consumer electronics; it was also used in the Sega Dreamcast 19 and consumer electronics; it was also used in the Sega Dreamcast
@@ -23,8 +24,10 @@ config SUPERH32
23 def_bool !SUPERH64 24 def_bool !SUPERH64
24 select HAVE_KPROBES 25 select HAVE_KPROBES
25 select HAVE_KRETPROBES 26 select HAVE_KRETPROBES
26 select HAVE_ARCH_TRACEHOOK
27 select HAVE_FUNCTION_TRACER 27 select HAVE_FUNCTION_TRACER
28 select HAVE_FTRACE_MCOUNT_RECORD
29 select HAVE_DYNAMIC_FTRACE
30 select HAVE_ARCH_KGDB
28 31
29config SUPERH64 32config SUPERH64
30 def_bool y if CPU_SH5 33 def_bool y if CPU_SH5
@@ -83,10 +86,17 @@ config GENERIC_LOCKBREAK
83 86
84config SYS_SUPPORTS_PM 87config SYS_SUPPORTS_PM
85 bool 88 bool
89 depends on !SMP
90
91config ARCH_SUSPEND_POSSIBLE
92 def_bool n
93
94config ARCH_HIBERNATION_POSSIBLE
95 def_bool n
86 96
87config SYS_SUPPORTS_APM_EMULATION 97config SYS_SUPPORTS_APM_EMULATION
88 bool 98 bool
89 select SYS_SUPPORTS_PM 99 select ARCH_SUSPEND_POSSIBLE
90 100
91config SYS_SUPPORTS_SMP 101config SYS_SUPPORTS_SMP
92 bool 102 bool
@@ -181,6 +191,11 @@ config CPU_SUBTYPE_SH7619
181 191
182# SH-2A Processor Support 192# SH-2A Processor Support
183 193
194config CPU_SUBTYPE_SH7201
195 bool "Support SH7201 processor"
196 select CPU_SH2A
197 select CPU_HAS_FPU
198
184config CPU_SUBTYPE_SH7203 199config CPU_SUBTYPE_SH7203
185 bool "Support SH7203 processor" 200 bool "Support SH7203 processor"
186 select CPU_SH2A 201 select CPU_SH2A
@@ -454,8 +469,12 @@ config SH_CPU_FREQ
454 depends on CPU_FREQ 469 depends on CPU_FREQ
455 select CPU_FREQ_TABLE 470 select CPU_FREQ_TABLE
456 help 471 help
457 This adds the cpufreq driver for SuperH. At present, only 472 This adds the cpufreq driver for SuperH. Any CPU that supports
458 the SH-4 is supported. 473 clock rate rounding through the clock framework can use this
474 driver. While it will make the kernel slightly larger, this is
475 harmless for CPUs that don't support rate rounding. The driver
476 will also generate a notice in the boot log before disabling
477 itself if the CPU in question is not capable of rate rounding.
459 478
460 For details, take a look at <file:Documentation/cpu-freq>. 479 For details, take a look at <file:Documentation/cpu-freq>.
461 480
@@ -467,9 +486,6 @@ source "arch/sh/drivers/Kconfig"
467 486
468endmenu 487endmenu
469 488
470config ISA_DMA_API
471 bool
472
473menu "Kernel features" 489menu "Kernel features"
474 490
475source kernel/Kconfig.hz 491source kernel/Kconfig.hz
@@ -686,49 +702,6 @@ config MAPLE
686 Dreamcast with a serial line terminal or a remote network 702 Dreamcast with a serial line terminal or a remote network
687 connection. 703 connection.
688 704
689config CF_ENABLER
690 bool "Compact Flash Enabler support"
691 depends on SOLUTION_ENGINE || SH_SH03
692 ---help---
693 Compact Flash is a small, removable mass storage device introduced
694 in 1994 originally as a PCMCIA device. If you say `Y' here, you
695 compile in support for Compact Flash devices directly connected to
696 a SuperH processor. A Compact Flash FAQ is available at
697 <http://www.compactflash.org/faqs/faq.htm>.
698
699 If your board has "Directly Connected" CompactFlash at area 5 or 6,
700 you may want to enable this option. Then, you can use CF as
701 primary IDE drive (only tested for SanDisk).
702
703 If in doubt, select 'N'.
704
705choice
706 prompt "Compact Flash Connection Area"
707 depends on CF_ENABLER
708 default CF_AREA6
709
710config CF_AREA5
711 bool "Area5"
712 help
713 If your board has "Directly Connected" CompactFlash, You should
714 select the area where your CF is connected to.
715
716 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
717 - "Area6" if it is connected to Area 6 (0x18000000)
718
719 "Area6" will work for most boards.
720
721config CF_AREA6
722 bool "Area6"
723
724endchoice
725
726config CF_BASE_ADDR
727 hex
728 depends on CF_ENABLER
729 default "0xb8000000" if CF_AREA6
730 default "0xb4000000" if CF_AREA5
731
732source "arch/sh/drivers/pci/Kconfig" 705source "arch/sh/drivers/pci/Kconfig"
733 706
734source "drivers/pci/Kconfig" 707source "drivers/pci/Kconfig"
@@ -746,13 +719,11 @@ source "fs/Kconfig.binfmt"
746endmenu 719endmenu
747 720
748menu "Power management options (EXPERIMENTAL)" 721menu "Power management options (EXPERIMENTAL)"
749depends on EXPERIMENTAL && SYS_SUPPORTS_PM 722depends on EXPERIMENTAL
750 723
751config ARCH_SUSPEND_POSSIBLE 724source "kernel/power/Kconfig"
752 def_bool y
753 depends on !SMP
754 725
755source kernel/power/Kconfig 726source "drivers/cpuidle/Kconfig"
756 727
757endmenu 728endmenu
758 729