aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig17
1 files changed, 15 insertions, 2 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 45f4a322ce4a..e7390dd0283d 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -22,7 +22,7 @@ config SUPERH
22 <http://www.linux-sh.org/>. 22 <http://www.linux-sh.org/>.
23 23
24config SUPERH32 24config SUPERH32
25 def_bool !SUPERH64 25 def_bool ARCH = "sh"
26 select HAVE_KPROBES 26 select HAVE_KPROBES
27 select HAVE_KRETPROBES 27 select HAVE_KRETPROBES
28 select HAVE_FUNCTION_TRACER 28 select HAVE_FUNCTION_TRACER
@@ -32,7 +32,7 @@ config SUPERH32
32 select ARCH_HIBERNATION_POSSIBLE if MMU 32 select ARCH_HIBERNATION_POSSIBLE if MMU
33 33
34config SUPERH64 34config SUPERH64
35 def_bool y if CPU_SH5 35 def_bool ARCH = "sh64"
36 36
37config ARCH_DEFCONFIG 37config ARCH_DEFCONFIG
38 string 38 string
@@ -188,6 +188,8 @@ config ARCH_SHMOBILE
188 bool 188 bool
189 select ARCH_SUSPEND_POSSIBLE 189 select ARCH_SUSPEND_POSSIBLE
190 190
191if SUPERH32
192
191choice 193choice
192 prompt "Processor sub-type selection" 194 prompt "Processor sub-type selection"
193 195
@@ -409,6 +411,15 @@ config CPU_SUBTYPE_SH7366
409 select SYS_SUPPORTS_NUMA 411 select SYS_SUPPORTS_NUMA
410 select SYS_SUPPORTS_CMT 412 select SYS_SUPPORTS_CMT
411 413
414endchoice
415
416endif
417
418if SUPERH64
419
420choice
421 prompt "Processor sub-type selection"
422
412# SH-5 Processor Support 423# SH-5 Processor Support
413 424
414config CPU_SUBTYPE_SH5_101 425config CPU_SUBTYPE_SH5_101
@@ -421,6 +432,8 @@ config CPU_SUBTYPE_SH5_103
421 432
422endchoice 433endchoice
423 434
435endif
436
424source "arch/sh/mm/Kconfig" 437source "arch/sh/mm/Kconfig"
425 438
426source "arch/sh/Kconfig.cpu" 439source "arch/sh/Kconfig.cpu"