diff options
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 17 |
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 | ||
24 | config SUPERH32 | 24 | config 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 | ||
34 | config SUPERH64 | 34 | config SUPERH64 |
35 | def_bool y if CPU_SH5 | 35 | def_bool ARCH = "sh64" |
36 | 36 | ||
37 | config ARCH_DEFCONFIG | 37 | config 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 | ||
191 | if SUPERH32 | ||
192 | |||
191 | choice | 193 | choice |
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 | ||
414 | endchoice | ||
415 | |||
416 | endif | ||
417 | |||
418 | if SUPERH64 | ||
419 | |||
420 | choice | ||
421 | prompt "Processor sub-type selection" | ||
422 | |||
412 | # SH-5 Processor Support | 423 | # SH-5 Processor Support |
413 | 424 | ||
414 | config CPU_SUBTYPE_SH5_101 | 425 | config CPU_SUBTYPE_SH5_101 |
@@ -421,6 +432,8 @@ config CPU_SUBTYPE_SH5_103 | |||
421 | 432 | ||
422 | endchoice | 433 | endchoice |
423 | 434 | ||
435 | endif | ||
436 | |||
424 | source "arch/sh/mm/Kconfig" | 437 | source "arch/sh/mm/Kconfig" |
425 | 438 | ||
426 | source "arch/sh/Kconfig.cpu" | 439 | source "arch/sh/Kconfig.cpu" |