Kconfig (bcb86e0adb6397013616567249d2d82f94b27891) Kconfig (7563bbf89d065a2c3f05059ecbcc805645edcc62)
1config SUPERH
2 def_bool y
3 select EXPERT
4 select CLKDEV_LOOKUP
5 select HAVE_IDE if HAS_IOPORT
6 select HAVE_MEMBLOCK
7 select HAVE_MEMBLOCK_NODE_MAP
8 select ARCH_DISCARD_MEMBLOCK
9 select HAVE_OPROFILE
10 select HAVE_GENERIC_DMA_COHERENT
11 select HAVE_ARCH_TRACEHOOK
12 select HAVE_DMA_API_DEBUG
13 select HAVE_DMA_ATTRS
14 select HAVE_IRQ_WORK
15 select HAVE_PERF_EVENTS
1config SUPERH
2 def_bool y
3 select EXPERT
4 select CLKDEV_LOOKUP
5 select HAVE_IDE if HAS_IOPORT
6 select HAVE_MEMBLOCK
7 select HAVE_MEMBLOCK_NODE_MAP
8 select ARCH_DISCARD_MEMBLOCK
9 select HAVE_OPROFILE
10 select HAVE_GENERIC_DMA_COHERENT
11 select HAVE_ARCH_TRACEHOOK
12 select HAVE_DMA_API_DEBUG
13 select HAVE_DMA_ATTRS
14 select HAVE_IRQ_WORK
15 select HAVE_PERF_EVENTS
16 select ARCH_HAVE_CUSTOM_GPIO_H
16 select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A)
17 select PERF_USE_VMALLOC
18 select HAVE_KERNEL_GZIP
19 select HAVE_KERNEL_BZIP2
20 select HAVE_KERNEL_LZMA
21 select HAVE_KERNEL_XZ
22 select HAVE_KERNEL_LZO
23 select HAVE_SYSCALL_TRACEPOINTS

--- 259 unchanged lines hidden (view full) ---

283
284config CPU_SUBTYPE_SH7263
285 bool "Support SH7263 processor"
286 select CPU_SH2A
287 select CPU_HAS_FPU
288 select SYS_SUPPORTS_CMT
289 select SYS_SUPPORTS_MTU2
290
17 select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A)
18 select PERF_USE_VMALLOC
19 select HAVE_KERNEL_GZIP
20 select HAVE_KERNEL_BZIP2
21 select HAVE_KERNEL_LZMA
22 select HAVE_KERNEL_XZ
23 select HAVE_KERNEL_LZO
24 select HAVE_SYSCALL_TRACEPOINTS

--- 259 unchanged lines hidden (view full) ---

284
285config CPU_SUBTYPE_SH7263
286 bool "Support SH7263 processor"
287 select CPU_SH2A
288 select CPU_HAS_FPU
289 select SYS_SUPPORTS_CMT
290 select SYS_SUPPORTS_MTU2
291
291config CPU_SUBTYPE_SH7264
292 bool "Support SH7264 processor"
293 select CPU_SH2A
294 select CPU_HAS_FPU
295 select SYS_SUPPORTS_CMT
296 select SYS_SUPPORTS_MTU2
297
298config CPU_SUBTYPE_SH7269
299 bool "Support SH7269 processor"
300 select CPU_SH2A
301 select CPU_HAS_FPU
302 select SYS_SUPPORTS_CMT
303 select SYS_SUPPORTS_MTU2
304
305config CPU_SUBTYPE_MXG
306 bool "Support MX-G processor"
307 select CPU_SH2A
308 select SYS_SUPPORTS_MTU2
309 help
310 Select MX-G if running on an R8A03022BG part.
311
312# SH-3 Processor Support

--- 123 unchanged lines hidden (view full) ---

436 select CPU_SHX2
437 select ARCH_SHMOBILE
438 select ARCH_SPARSEMEM_ENABLE
439 select SYS_SUPPORTS_CMT
440 select ARCH_WANT_OPTIONAL_GPIOLIB
441 help
442 Select SH7724 if you have an SH-MobileR2R CPU.
443
292config CPU_SUBTYPE_MXG
293 bool "Support MX-G processor"
294 select CPU_SH2A
295 select SYS_SUPPORTS_MTU2
296 help
297 Select MX-G if running on an R8A03022BG part.
298
299# SH-3 Processor Support

--- 123 unchanged lines hidden (view full) ---

423 select CPU_SHX2
424 select ARCH_SHMOBILE
425 select ARCH_SPARSEMEM_ENABLE
426 select SYS_SUPPORTS_CMT
427 select ARCH_WANT_OPTIONAL_GPIOLIB
428 help
429 Select SH7724 if you have an SH-MobileR2R CPU.
430
444config CPU_SUBTYPE_SH7734
445 bool "Support SH7734 processor"
446 select CPU_SH4A
447 select CPU_SHX2
448 select ARCH_WANT_OPTIONAL_GPIOLIB
449 select USB_ARCH_HAS_OHCI
450 select USB_ARCH_HAS_EHCI
451 help
452 Select SH7734 if you have a SH4A SH7734 CPU.
453
454config CPU_SUBTYPE_SH7757
455 bool "Support SH7757 processor"
456 select CPU_SH4A
457 select CPU_SHX2
458 select ARCH_WANT_OPTIONAL_GPIOLIB
459 select USB_ARCH_HAS_OHCI
460 select USB_ARCH_HAS_EHCI
461 help

--- 141 unchanged lines hidden (view full) ---

603 platforms lacking an RTC.
604
605config SH_CLK_CPG
606 def_bool y
607
608config SH_CLK_CPG_LEGACY
609 depends on SH_CLK_CPG
610 def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \
431config CPU_SUBTYPE_SH7757
432 bool "Support SH7757 processor"
433 select CPU_SH4A
434 select CPU_SHX2
435 select ARCH_WANT_OPTIONAL_GPIOLIB
436 select USB_ARCH_HAS_OHCI
437 select USB_ARCH_HAS_EHCI
438 help

--- 141 unchanged lines hidden (view full) ---

580 platforms lacking an RTC.
581
582config SH_CLK_CPG
583 def_bool y
584
585config SH_CLK_CPG_LEGACY
586 depends on SH_CLK_CPG
587 def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \
611 !CPU_SHX3 && !CPU_SUBTYPE_SH7757 && \
612 !CPU_SUBTYPE_SH7734 && !CPU_SUBTYPE_SH7264 && \
613 !CPU_SUBTYPE_SH7269
588 !CPU_SHX3 && !CPU_SUBTYPE_SH7757
614
615source "kernel/time/Kconfig"
616
617endmenu
618
619menu "CPU Frequency scaling"
620
621source "drivers/cpufreq/Kconfig"

--- 84 unchanged lines hidden (view full) ---

706 syscalls, it's possible to isolate those applications in
707 their own address space using seccomp. Once seccomp is
708 enabled via prctl, it cannot be disabled and the task is only
709 allowed to execute a few safe syscalls defined by each seccomp
710 mode.
711
712 If unsure, say N.
713
589
590source "kernel/time/Kconfig"
591
592endmenu
593
594menu "CPU Frequency scaling"
595
596source "drivers/cpufreq/Kconfig"

--- 84 unchanged lines hidden (view full) ---

681 syscalls, it's possible to isolate those applications in
682 their own address space using seccomp. Once seccomp is
683 enabled via prctl, it cannot be disabled and the task is only
684 allowed to execute a few safe syscalls defined by each seccomp
685 mode.
686
687 If unsure, say N.
688
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
729 bool "Symmetric multi-processing support"
730 depends on SYS_SUPPORTS_SMP
731 select USE_GENERIC_SMP_HELPERS
732 ---help---
733 This enables support for systems with more than one CPU. If you have
734 a system with only one CPU, like most personal computers, say N. If
735 you have a system with more than one CPU, say Y.

--- 217 unchanged lines hidden ---
689config SMP
690 bool "Symmetric multi-processing support"
691 depends on SYS_SUPPORTS_SMP
692 select USE_GENERIC_SMP_HELPERS
693 ---help---
694 This enables support for systems with more than one CPU. If you have
695 a system with only one CPU, like most personal computers, say N. If
696 you have a system with more than one CPU, say Y.

--- 217 unchanged lines hidden ---