aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig103
1 files changed, 26 insertions, 77 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index babc2b826c5..ff9177c8f64 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -4,8 +4,6 @@ config SUPERH
4 select CLKDEV_LOOKUP 4 select CLKDEV_LOOKUP
5 select HAVE_IDE if HAS_IOPORT 5 select HAVE_IDE if HAS_IOPORT
6 select HAVE_MEMBLOCK 6 select HAVE_MEMBLOCK
7 select HAVE_MEMBLOCK_NODE_MAP
8 select ARCH_DISCARD_MEMBLOCK
9 select HAVE_OPROFILE 7 select HAVE_OPROFILE
10 select HAVE_GENERIC_DMA_COHERENT 8 select HAVE_GENERIC_DMA_COHERENT
11 select HAVE_ARCH_TRACEHOOK 9 select HAVE_ARCH_TRACEHOOK
@@ -13,33 +11,21 @@ config SUPERH
13 select HAVE_DMA_ATTRS 11 select HAVE_DMA_ATTRS
14 select HAVE_IRQ_WORK 12 select HAVE_IRQ_WORK
15 select HAVE_PERF_EVENTS 13 select HAVE_PERF_EVENTS
16 select HAVE_DEBUG_BUGVERBOSE
17 select ARCH_HAVE_CUSTOM_GPIO_H
18 select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A) 14 select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A)
19 select PERF_USE_VMALLOC 15 select PERF_USE_VMALLOC
20 select HAVE_DEBUG_KMEMLEAK
21 select HAVE_KERNEL_GZIP 16 select HAVE_KERNEL_GZIP
22 select HAVE_KERNEL_BZIP2 17 select HAVE_KERNEL_BZIP2
23 select HAVE_KERNEL_LZMA 18 select HAVE_KERNEL_LZMA
24 select HAVE_KERNEL_XZ 19 select HAVE_KERNEL_XZ
25 select HAVE_KERNEL_LZO 20 select HAVE_KERNEL_LZO
26 select HAVE_UID16
27 select ARCH_WANT_IPC_PARSE_VERSION
28 select HAVE_SYSCALL_TRACEPOINTS 21 select HAVE_SYSCALL_TRACEPOINTS
29 select HAVE_REGS_AND_STACK_ACCESS_API 22 select HAVE_REGS_AND_STACK_ACCESS_API
30 select HAVE_GENERIC_HARDIRQS 23 select HAVE_GENERIC_HARDIRQS
31 select MAY_HAVE_SPARSE_IRQ 24 select HAVE_SPARSE_IRQ
32 select IRQ_FORCED_THREADING 25 select IRQ_FORCED_THREADING
33 select RTC_LIB 26 select RTC_LIB
34 select GENERIC_ATOMIC64 27 select GENERIC_ATOMIC64
35 select GENERIC_IRQ_SHOW 28 select GENERIC_IRQ_SHOW
36 select GENERIC_SMP_IDLE_THREAD
37 select GENERIC_CLOCKEVENTS
38 select GENERIC_CMOS_UPDATE if SH_SH03 || SH_DREAMCAST
39 select GENERIC_STRNCPY_FROM_USER
40 select GENERIC_STRNLEN_USER
41 select HAVE_MOD_ARCH_SPECIFIC if DWARF_UNWINDER
42 select MODULES_USE_ELF_RELA
43 help 29 help
44 The SuperH is a RISC processor targeted for use in embedded systems 30 The SuperH is a RISC processor targeted for use in embedded systems
45 and consumer electronics; it was also used in the Sega Dreamcast 31 and consumer electronics; it was also used in the Sega Dreamcast
@@ -56,7 +42,6 @@ config SUPERH32
56 select HAVE_DYNAMIC_FTRACE 42 select HAVE_DYNAMIC_FTRACE
57 select HAVE_FUNCTION_TRACE_MCOUNT_TEST 43 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
58 select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE 44 select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE
59 select ARCH_WANT_IPC_PARSE_VERSION
60 select HAVE_FUNCTION_GRAPH_TRACER 45 select HAVE_FUNCTION_GRAPH_TRACER
61 select HAVE_ARCH_KGDB 46 select HAVE_ARCH_KGDB
62 select HAVE_HW_BREAKPOINT 47 select HAVE_HW_BREAKPOINT
@@ -67,7 +52,6 @@ config SUPERH32
67 52
68config SUPERH64 53config SUPERH64
69 def_bool ARCH = "sh64" 54 def_bool ARCH = "sh64"
70 select KALLSYMS
71 55
72config ARCH_DEFCONFIG 56config ARCH_DEFCONFIG
73 string 57 string
@@ -100,10 +84,27 @@ config GENERIC_GPIO
100config GENERIC_CALIBRATE_DELAY 84config GENERIC_CALIBRATE_DELAY
101 bool 85 bool
102 86
87config GENERIC_IOMAP
88 bool
89
90config GENERIC_CLOCKEVENTS
91 def_bool y
92
93config GENERIC_CLOCKEVENTS_BROADCAST
94 bool
95
96config GENERIC_CMOS_UPDATE
97 def_bool y
98 depends on SH_SH03 || SH_DREAMCAST
99
103config GENERIC_LOCKBREAK 100config GENERIC_LOCKBREAK
104 def_bool y 101 def_bool y
105 depends on SMP && PREEMPT 102 depends on SMP && PREEMPT
106 103
104config SYS_SUPPORTS_PM
105 bool
106 depends on !SMP
107
107config ARCH_SUSPEND_POSSIBLE 108config ARCH_SUSPEND_POSSIBLE
108 def_bool n 109 def_bool n
109 110
@@ -156,17 +157,16 @@ config ARCH_NO_VIRT_TO_BUS
156config ARCH_HAS_DEFAULT_IDLE 157config ARCH_HAS_DEFAULT_IDLE
157 def_bool y 158 def_bool y
158 159
160config ARCH_HAS_CPU_IDLE_WAIT
161 def_bool y
162
159config NO_IOPORT 163config NO_IOPORT
160 def_bool !PCI 164 def_bool !PCI
161 depends on !SH_CAYMAN && !SH_SH4202_MICRODEV && !SH_SHMIN && \ 165 depends on !SH_CAYMAN && !SH_SH4202_MICRODEV && !SH_SHMIN
162 !SH_HP6XX && !SH_SOLUTION_ENGINE
163 166
164config IO_TRAPPED 167config IO_TRAPPED
165 bool 168 bool
166 169
167config SWAP_IO_SPACE
168 bool
169
170config DMA_COHERENT 170config DMA_COHERENT
171 bool 171 bool
172 172
@@ -290,20 +290,6 @@ config CPU_SUBTYPE_SH7263
290 select SYS_SUPPORTS_CMT 290 select SYS_SUPPORTS_CMT
291 select SYS_SUPPORTS_MTU2 291 select SYS_SUPPORTS_MTU2
292 292
293config CPU_SUBTYPE_SH7264
294 bool "Support SH7264 processor"
295 select CPU_SH2A
296 select CPU_HAS_FPU
297 select SYS_SUPPORTS_CMT
298 select SYS_SUPPORTS_MTU2
299
300config CPU_SUBTYPE_SH7269
301 bool "Support SH7269 processor"
302 select CPU_SH2A
303 select CPU_HAS_FPU
304 select SYS_SUPPORTS_CMT
305 select SYS_SUPPORTS_MTU2
306
307config CPU_SUBTYPE_MXG 293config CPU_SUBTYPE_MXG
308 bool "Support MX-G processor" 294 bool "Support MX-G processor"
309 select CPU_SH2A 295 select CPU_SH2A
@@ -443,16 +429,6 @@ config CPU_SUBTYPE_SH7724
443 help 429 help
444 Select SH7724 if you have an SH-MobileR2R CPU. 430 Select SH7724 if you have an SH-MobileR2R CPU.
445 431
446config CPU_SUBTYPE_SH7734
447 bool "Support SH7734 processor"
448 select CPU_SH4A
449 select CPU_SHX2
450 select ARCH_WANT_OPTIONAL_GPIOLIB
451 select USB_ARCH_HAS_OHCI
452 select USB_ARCH_HAS_EHCI
453 help
454 Select SH7734 if you have a SH4A SH7734 CPU.
455
456config CPU_SUBTYPE_SH7757 432config CPU_SUBTYPE_SH7757
457 bool "Support SH7757 processor" 433 bool "Support SH7757 processor"
458 select CPU_SH4A 434 select CPU_SH4A
@@ -610,9 +586,9 @@ config SH_CLK_CPG
610config SH_CLK_CPG_LEGACY 586config SH_CLK_CPG_LEGACY
611 depends on SH_CLK_CPG 587 depends on SH_CLK_CPG
612 def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \ 588 def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \
613 !CPU_SHX3 && !CPU_SUBTYPE_SH7757 && \ 589 !CPU_SHX3 && !CPU_SUBTYPE_SH7757
614 !CPU_SUBTYPE_SH7734 && !CPU_SUBTYPE_SH7264 && \ 590
615 !CPU_SUBTYPE_SH7269 591source "kernel/time/Kconfig"
616 592
617endmenu 593endmenu
618 594
@@ -673,7 +649,7 @@ config CRASH_DUMP
673 a specially reserved region and then later executed after 649 a specially reserved region and then later executed after
674 a crash by kdump/kexec. The crash dump kernel must be compiled 650 a crash by kdump/kexec. The crash dump kernel must be compiled
675 to a memory address not used by the main kernel using 651 to a memory address not used by the main kernel using
676 PHYSICAL_START. 652 MEMORY_START.
677 653
678 For more details see Documentation/kdump/kdump.txt 654 For more details see Documentation/kdump/kdump.txt
679 655
@@ -684,17 +660,6 @@ config KEXEC_JUMP
684 Jump between original kernel and kexeced kernel and invoke 660 Jump between original kernel and kexeced kernel and invoke
685 code via KEXEC 661 code via KEXEC
686 662
687config PHYSICAL_START
688 hex "Physical address where the kernel is loaded" if (EXPERT || CRASH_DUMP)
689 default MEMORY_START
690 ---help---
691 This gives the physical address where the kernel is loaded
692 and is ordinarily the same as MEMORY_START.
693
694 Different values are primarily used in the case of kexec on panic
695 where the fail safe kernel needs to run at a different address
696 than the panic-ed kernel.
697
698config SECCOMP 663config SECCOMP
699 bool "Enable seccomp to safely compute untrusted bytecode" 664 bool "Enable seccomp to safely compute untrusted bytecode"
700 depends on PROC_FS 665 depends on PROC_FS
@@ -711,20 +676,6 @@ config SECCOMP
711 676
712 If unsure, say N. 677 If unsure, say N.
713 678
714config CC_STACKPROTECTOR
715 bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
716 depends on SUPERH32 && EXPERIMENTAL
717 help
718 This option turns on the -fstack-protector GCC feature. This
719 feature puts, at the beginning of functions, a canary value on
720 the stack just before the return address, and validates
721 the value just before actually returning. Stack based buffer
722 overflows (that need to overwrite this return address) now also
723 overwrite the canary, which gets detected and the attack is then
724 neutralized via a kernel panic.
725
726 This feature requires gcc version 4.2 or above.
727
728config SMP 679config SMP
729 bool "Symmetric multi-processing support" 680 bool "Symmetric multi-processing support"
730 depends on SYS_SUPPORTS_SMP 681 depends on SYS_SUPPORTS_SMP
@@ -902,8 +853,6 @@ config PCI
902 bool "PCI support" 853 bool "PCI support"
903 depends on SYS_SUPPORTS_PCI 854 depends on SYS_SUPPORTS_PCI
904 select PCI_DOMAINS 855 select PCI_DOMAINS
905 select GENERIC_PCI_IOMAP
906 select NO_GENERIC_PCI_IOPORT_MAP
907 help 856 help
908 Find out whether you have a PCI motherboard. PCI is the name of a 857 Find out whether you have a PCI motherboard. PCI is the name of a
909 bus system, i.e. the way the CPU talks to the other stuff inside 858 bus system, i.e. the way the CPU talks to the other stuff inside