diff options
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 44 |
1 files changed, 40 insertions, 4 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index e2bdd7b94fd9..4df3570fe511 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -10,12 +10,17 @@ config SUPERH | |||
10 | select EMBEDDED | 10 | select EMBEDDED |
11 | select HAVE_CLK | 11 | select HAVE_CLK |
12 | select HAVE_IDE | 12 | select HAVE_IDE |
13 | select HAVE_LMB | ||
13 | select HAVE_OPROFILE | 14 | select HAVE_OPROFILE |
14 | select HAVE_GENERIC_DMA_COHERENT | 15 | select HAVE_GENERIC_DMA_COHERENT |
15 | select HAVE_IOREMAP_PROT if MMU | 16 | select HAVE_IOREMAP_PROT if MMU |
16 | select HAVE_ARCH_TRACEHOOK | 17 | select HAVE_ARCH_TRACEHOOK |
17 | select HAVE_DMA_API_DEBUG | 18 | select HAVE_DMA_API_DEBUG |
18 | select HAVE_PERF_COUNTERS | 19 | select HAVE_PERF_COUNTERS |
20 | select HAVE_KERNEL_GZIP | ||
21 | select HAVE_KERNEL_BZIP2 | ||
22 | select HAVE_KERNEL_LZMA | ||
23 | select HAVE_SYSCALL_TRACEPOINTS | ||
19 | select RTC_LIB | 24 | select RTC_LIB |
20 | select GENERIC_ATOMIC64 | 25 | select GENERIC_ATOMIC64 |
21 | help | 26 | help |
@@ -31,6 +36,9 @@ config SUPERH32 | |||
31 | select HAVE_FUNCTION_TRACER | 36 | select HAVE_FUNCTION_TRACER |
32 | select HAVE_FTRACE_MCOUNT_RECORD | 37 | select HAVE_FTRACE_MCOUNT_RECORD |
33 | select HAVE_DYNAMIC_FTRACE | 38 | select HAVE_DYNAMIC_FTRACE |
39 | select HAVE_FUNCTION_TRACE_MCOUNT_TEST | ||
40 | select HAVE_FTRACE_SYSCALLS | ||
41 | select HAVE_FUNCTION_GRAPH_TRACER | ||
34 | select HAVE_ARCH_KGDB | 42 | select HAVE_ARCH_KGDB |
35 | select ARCH_HIBERNATION_POSSIBLE if MMU | 43 | select ARCH_HIBERNATION_POSSIBLE if MMU |
36 | 44 | ||
@@ -212,6 +220,8 @@ config CPU_SHX3 | |||
212 | config ARCH_SHMOBILE | 220 | config ARCH_SHMOBILE |
213 | bool | 221 | bool |
214 | select ARCH_SUSPEND_POSSIBLE | 222 | select ARCH_SUSPEND_POSSIBLE |
223 | select PM | ||
224 | select PM_RUNTIME | ||
215 | 225 | ||
216 | if SUPERH32 | 226 | if SUPERH32 |
217 | 227 | ||
@@ -389,6 +399,13 @@ config CPU_SUBTYPE_SH7724 | |||
389 | help | 399 | help |
390 | Select SH7724 if you have an SH-MobileR2R CPU. | 400 | Select SH7724 if you have an SH-MobileR2R CPU. |
391 | 401 | ||
402 | config CPU_SUBTYPE_SH7757 | ||
403 | bool "Support SH7757 processor" | ||
404 | select CPU_SH4A | ||
405 | select CPU_SHX2 | ||
406 | help | ||
407 | Select SH7757 if you have a SH4A SH7757 CPU. | ||
408 | |||
392 | config CPU_SUBTYPE_SH7763 | 409 | config CPU_SUBTYPE_SH7763 |
393 | bool "Support SH7763 processor" | 410 | bool "Support SH7763 processor" |
394 | select CPU_SH4A | 411 | select CPU_SH4A |
@@ -751,12 +768,31 @@ config UBC_WAKEUP | |||
751 | 768 | ||
752 | If unsure, say N. | 769 | If unsure, say N. |
753 | 770 | ||
754 | config CMDLINE_BOOL | 771 | choice |
755 | bool "Default bootloader kernel arguments" | 772 | prompt "Kernel command line" |
773 | optional | ||
774 | default CMDLINE_OVERWRITE | ||
775 | help | ||
776 | Setting this option allows the kernel command line arguments | ||
777 | to be set. | ||
778 | |||
779 | config CMDLINE_OVERWRITE | ||
780 | bool "Overwrite bootloader kernel arguments" | ||
781 | help | ||
782 | Given string will overwrite any arguments passed in by | ||
783 | a bootloader. | ||
784 | |||
785 | config CMDLINE_EXTEND | ||
786 | bool "Extend bootloader kernel arguments" | ||
787 | help | ||
788 | Given string will be concatenated with arguments passed in | ||
789 | by a bootloader. | ||
790 | |||
791 | endchoice | ||
756 | 792 | ||
757 | config CMDLINE | 793 | config CMDLINE |
758 | string "Initial kernel command string" | 794 | string "Kernel command line arguments string" |
759 | depends on CMDLINE_BOOL | 795 | depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND |
760 | default "console=ttySC1,115200" | 796 | default "console=ttySC1,115200" |
761 | 797 | ||
762 | endmenu | 798 | endmenu |