diff options
Diffstat (limited to 'arch/sh/Kconfig')
| -rw-r--r-- | arch/sh/Kconfig | 83 |
1 files changed, 26 insertions, 57 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 5c9cbfc14c4d..f32a5197128d 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
| @@ -13,6 +13,7 @@ config SUPERH | |||
| 13 | select HAVE_OPROFILE | 13 | select HAVE_OPROFILE |
| 14 | select HAVE_GENERIC_DMA_COHERENT | 14 | select HAVE_GENERIC_DMA_COHERENT |
| 15 | select HAVE_IOREMAP_PROT if MMU | 15 | select HAVE_IOREMAP_PROT if MMU |
| 16 | select HAVE_ARCH_TRACEHOOK | ||
| 16 | help | 17 | help |
| 17 | The SuperH is a RISC processor targeted for use in embedded systems | 18 | The SuperH is a RISC processor targeted for use in embedded systems |
| 18 | and consumer electronics; it was also used in the Sega Dreamcast | 19 | and consumer electronics; it was also used in the Sega Dreamcast |
| @@ -23,8 +24,10 @@ config SUPERH32 | |||
| 23 | def_bool !SUPERH64 | 24 | def_bool !SUPERH64 |
| 24 | select HAVE_KPROBES | 25 | select HAVE_KPROBES |
| 25 | select HAVE_KRETPROBES | 26 | select HAVE_KRETPROBES |
| 26 | select HAVE_ARCH_TRACEHOOK | ||
| 27 | select HAVE_FUNCTION_TRACER | 27 | select HAVE_FUNCTION_TRACER |
| 28 | select HAVE_FTRACE_MCOUNT_RECORD | ||
| 29 | select HAVE_DYNAMIC_FTRACE | ||
| 30 | select HAVE_ARCH_KGDB | ||
| 28 | 31 | ||
| 29 | config SUPERH64 | 32 | config SUPERH64 |
| 30 | def_bool y if CPU_SH5 | 33 | def_bool y if CPU_SH5 |
| @@ -55,8 +58,6 @@ config GENERIC_HARDIRQS | |||
| 55 | 58 | ||
| 56 | config GENERIC_HARDIRQS_NO__DO_IRQ | 59 | config GENERIC_HARDIRQS_NO__DO_IRQ |
| 57 | def_bool y | 60 | def_bool y |
| 58 | depends on SUPERH32 && (!SH_DREAMCAST && !SH_SH4202_MICRODEV && \ | ||
| 59 | !SH_7751_SYSTEMH && !HD64461) | ||
| 60 | 61 | ||
| 61 | config GENERIC_IRQ_PROBE | 62 | config GENERIC_IRQ_PROBE |
| 62 | def_bool y | 63 | def_bool y |
| @@ -85,10 +86,17 @@ config GENERIC_LOCKBREAK | |||
| 85 | 86 | ||
| 86 | config SYS_SUPPORTS_PM | 87 | config SYS_SUPPORTS_PM |
| 87 | bool | 88 | bool |
| 89 | depends on !SMP | ||
| 90 | |||
| 91 | config ARCH_SUSPEND_POSSIBLE | ||
| 92 | def_bool n | ||
| 93 | |||
| 94 | config ARCH_HIBERNATION_POSSIBLE | ||
| 95 | def_bool n | ||
| 88 | 96 | ||
| 89 | config SYS_SUPPORTS_APM_EMULATION | 97 | config SYS_SUPPORTS_APM_EMULATION |
| 90 | bool | 98 | bool |
| 91 | select SYS_SUPPORTS_PM | 99 | select ARCH_SUSPEND_POSSIBLE |
| 92 | 100 | ||
| 93 | config SYS_SUPPORTS_SMP | 101 | config SYS_SUPPORTS_SMP |
| 94 | bool | 102 | bool |
| @@ -183,6 +191,11 @@ config CPU_SUBTYPE_SH7619 | |||
| 183 | 191 | ||
| 184 | # SH-2A Processor Support | 192 | # SH-2A Processor Support |
| 185 | 193 | ||
| 194 | config CPU_SUBTYPE_SH7201 | ||
| 195 | bool "Support SH7201 processor" | ||
| 196 | select CPU_SH2A | ||
| 197 | select CPU_HAS_FPU | ||
| 198 | |||
| 186 | config CPU_SUBTYPE_SH7203 | 199 | config CPU_SUBTYPE_SH7203 |
| 187 | bool "Support SH7203 processor" | 200 | bool "Support SH7203 processor" |
| 188 | select CPU_SH2A | 201 | select CPU_SH2A |
| @@ -456,8 +469,12 @@ config SH_CPU_FREQ | |||
| 456 | depends on CPU_FREQ | 469 | depends on CPU_FREQ |
| 457 | select CPU_FREQ_TABLE | 470 | select CPU_FREQ_TABLE |
| 458 | help | 471 | help |
| 459 | This adds the cpufreq driver for SuperH. At present, only | 472 | This adds the cpufreq driver for SuperH. Any CPU that supports |
| 460 | the SH-4 is supported. | 473 | clock rate rounding through the clock framework can use this |
| 474 | driver. While it will make the kernel slightly larger, this is | ||
| 475 | harmless for CPUs that don't support rate rounding. The driver | ||
| 476 | will also generate a notice in the boot log before disabling | ||
| 477 | itself if the CPU in question is not capable of rate rounding. | ||
| 461 | 478 | ||
| 462 | For details, take a look at <file:Documentation/cpu-freq>. | 479 | For details, take a look at <file:Documentation/cpu-freq>. |
| 463 | 480 | ||
| @@ -469,9 +486,6 @@ source "arch/sh/drivers/Kconfig" | |||
| 469 | 486 | ||
| 470 | endmenu | 487 | endmenu |
| 471 | 488 | ||
| 472 | config ISA_DMA_API | ||
| 473 | bool | ||
| 474 | |||
| 475 | menu "Kernel features" | 489 | menu "Kernel features" |
| 476 | 490 | ||
| 477 | source kernel/Kconfig.hz | 491 | source kernel/Kconfig.hz |
| @@ -688,49 +702,6 @@ config MAPLE | |||
| 688 | Dreamcast with a serial line terminal or a remote network | 702 | Dreamcast with a serial line terminal or a remote network |
| 689 | connection. | 703 | connection. |
| 690 | 704 | ||
| 691 | config CF_ENABLER | ||
| 692 | bool "Compact Flash Enabler support" | ||
| 693 | depends on SOLUTION_ENGINE || SH_SH03 | ||
| 694 | ---help--- | ||
| 695 | Compact Flash is a small, removable mass storage device introduced | ||
| 696 | in 1994 originally as a PCMCIA device. If you say `Y' here, you | ||
| 697 | compile in support for Compact Flash devices directly connected to | ||
| 698 | a SuperH processor. A Compact Flash FAQ is available at | ||
| 699 | <http://www.compactflash.org/faqs/faq.htm>. | ||
| 700 | |||
| 701 | If your board has "Directly Connected" CompactFlash at area 5 or 6, | ||
| 702 | you may want to enable this option. Then, you can use CF as | ||
| 703 | primary IDE drive (only tested for SanDisk). | ||
| 704 | |||
| 705 | If in doubt, select 'N'. | ||
| 706 | |||
| 707 | choice | ||
| 708 | prompt "Compact Flash Connection Area" | ||
| 709 | depends on CF_ENABLER | ||
| 710 | default CF_AREA6 | ||
| 711 | |||
| 712 | config CF_AREA5 | ||
| 713 | bool "Area5" | ||
| 714 | help | ||
| 715 | If your board has "Directly Connected" CompactFlash, You should | ||
| 716 | select the area where your CF is connected to. | ||
| 717 | |||
| 718 | - "Area5" if CompactFlash is connected to Area 5 (0x14000000) | ||
| 719 | - "Area6" if it is connected to Area 6 (0x18000000) | ||
| 720 | |||
| 721 | "Area6" will work for most boards. | ||
| 722 | |||
| 723 | config CF_AREA6 | ||
| 724 | bool "Area6" | ||
| 725 | |||
| 726 | endchoice | ||
| 727 | |||
| 728 | config CF_BASE_ADDR | ||
| 729 | hex | ||
| 730 | depends on CF_ENABLER | ||
| 731 | default "0xb8000000" if CF_AREA6 | ||
| 732 | default "0xb4000000" if CF_AREA5 | ||
| 733 | |||
| 734 | source "arch/sh/drivers/pci/Kconfig" | 705 | source "arch/sh/drivers/pci/Kconfig" |
| 735 | 706 | ||
| 736 | source "drivers/pci/Kconfig" | 707 | source "drivers/pci/Kconfig" |
| @@ -748,13 +719,11 @@ source "fs/Kconfig.binfmt" | |||
| 748 | endmenu | 719 | endmenu |
| 749 | 720 | ||
| 750 | menu "Power management options (EXPERIMENTAL)" | 721 | menu "Power management options (EXPERIMENTAL)" |
| 751 | depends on EXPERIMENTAL && SYS_SUPPORTS_PM | 722 | depends on EXPERIMENTAL |
| 752 | 723 | ||
| 753 | config ARCH_SUSPEND_POSSIBLE | 724 | source "kernel/power/Kconfig" |
| 754 | def_bool y | ||
| 755 | depends on !SMP | ||
| 756 | 725 | ||
| 757 | source kernel/power/Kconfig | 726 | source "drivers/cpuidle/Kconfig" |
| 758 | 727 | ||
| 759 | endmenu | 728 | endmenu |
| 760 | 729 | ||
