diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-11-16 02:10:20 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-16 02:10:20 -0500 |
commit | 6d72ad35f1bfaf6e52ca7133cb51ce0e36f17528 (patch) | |
tree | 5c91094d848149970edf7ec3dc650dbfd7f9b2c8 | |
parent | e53beacd23d9cb47590da6a7a7f6d417b941a994 (diff) |
ARM: mach-shmobile: Tidy up the Kconfig bits.
Presently each one of the CPUs manually selects the same feature set, and
there's a reasonable expectation that none of these will change for
future CPUs in the SH-Mobile / R-Mobile family, so we move those over to
the top-level ARCH_SHMOBILE.
While we're at it, all of the CPUs support optional GPIOs via the PFC,
do not have I/O ports, and expect sparse IRQ, so we bring the
configuration in line across the board.
This more or less brings the ARM-based parts in sync with their SH
counterparts.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/arm/Kconfig | 9 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/Kconfig | 12 |
2 files changed, 10 insertions, 11 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index db524e75c4a2..81c71daf1a90 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -606,9 +606,14 @@ config ARCH_MSM | |||
606 | (clock and power control, etc). | 606 | (clock and power control, etc). |
607 | 607 | ||
608 | config ARCH_SHMOBILE | 608 | config ARCH_SHMOBILE |
609 | bool "Renesas SH-Mobile" | 609 | bool "Renesas SH-Mobile / R-Mobile" |
610 | select HAVE_CLK | ||
611 | select COMMON_CLKDEV | ||
612 | select GENERIC_CLOCKEVENTS | ||
613 | select NO_IOPORT | ||
614 | select SPARSE_IRQ | ||
610 | help | 615 | help |
611 | Support for Renesas's SH-Mobile ARM platforms | 616 | Support for Renesas's SH-Mobile and R-Mobile ARM platforms. |
612 | 617 | ||
613 | config ARCH_RPC | 618 | config ARCH_RPC |
614 | bool "RiscPC" | 619 | bool "RiscPC" |
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 51dcd59eda6a..cc543430170f 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig | |||
@@ -5,26 +5,20 @@ comment "SH-Mobile System Type" | |||
5 | config ARCH_SH7367 | 5 | config ARCH_SH7367 |
6 | bool "SH-Mobile G3 (SH7367)" | 6 | bool "SH-Mobile G3 (SH7367)" |
7 | select CPU_V6 | 7 | select CPU_V6 |
8 | select HAVE_CLK | ||
9 | select COMMON_CLKDEV | ||
10 | select SH_CLK_CPG | 8 | select SH_CLK_CPG |
11 | select GENERIC_CLOCKEVENTS | 9 | select ARCH_WANT_OPTIONAL_GPIOLIB |
12 | 10 | ||
13 | config ARCH_SH7377 | 11 | config ARCH_SH7377 |
14 | bool "SH-Mobile G4 (SH7377)" | 12 | bool "SH-Mobile G4 (SH7377)" |
15 | select CPU_V7 | 13 | select CPU_V7 |
16 | select HAVE_CLK | ||
17 | select COMMON_CLKDEV | ||
18 | select SH_CLK_CPG | 14 | select SH_CLK_CPG |
19 | select GENERIC_CLOCKEVENTS | 15 | select ARCH_WANT_OPTIONAL_GPIOLIB |
20 | 16 | ||
21 | config ARCH_SH7372 | 17 | config ARCH_SH7372 |
22 | bool "SH-Mobile AP4 (SH7372)" | 18 | bool "SH-Mobile AP4 (SH7372)" |
23 | select CPU_V7 | 19 | select CPU_V7 |
24 | select HAVE_CLK | ||
25 | select COMMON_CLKDEV | ||
26 | select SH_CLK_CPG | 20 | select SH_CLK_CPG |
27 | select GENERIC_CLOCKEVENTS | 21 | select ARCH_WANT_OPTIONAL_GPIOLIB |
28 | 22 | ||
29 | comment "SH-Mobile Board Type" | 23 | comment "SH-Mobile Board Type" |
30 | 24 | ||