提交 6d72ad35 编写于 作者: P Paul Mundt

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: NPaul Mundt <lethal@linux-sh.org>
上级 e53beacd
...@@ -606,9 +606,14 @@ config ARCH_MSM ...@@ -606,9 +606,14 @@ config ARCH_MSM
(clock and power control, etc). (clock and power control, etc).
config ARCH_SHMOBILE config ARCH_SHMOBILE
bool "Renesas SH-Mobile" bool "Renesas SH-Mobile / R-Mobile"
select HAVE_CLK
select COMMON_CLKDEV
select GENERIC_CLOCKEVENTS
select NO_IOPORT
select SPARSE_IRQ
help help
Support for Renesas's SH-Mobile ARM platforms Support for Renesas's SH-Mobile and R-Mobile ARM platforms.
config ARCH_RPC config ARCH_RPC
bool "RiscPC" bool "RiscPC"
......
...@@ -5,26 +5,20 @@ comment "SH-Mobile System Type" ...@@ -5,26 +5,20 @@ comment "SH-Mobile System Type"
config ARCH_SH7367 config ARCH_SH7367
bool "SH-Mobile G3 (SH7367)" bool "SH-Mobile G3 (SH7367)"
select CPU_V6 select CPU_V6
select HAVE_CLK
select COMMON_CLKDEV
select SH_CLK_CPG select SH_CLK_CPG
select GENERIC_CLOCKEVENTS select ARCH_WANT_OPTIONAL_GPIOLIB
config ARCH_SH7377 config ARCH_SH7377
bool "SH-Mobile G4 (SH7377)" bool "SH-Mobile G4 (SH7377)"
select CPU_V7 select CPU_V7
select HAVE_CLK
select COMMON_CLKDEV
select SH_CLK_CPG select SH_CLK_CPG
select GENERIC_CLOCKEVENTS select ARCH_WANT_OPTIONAL_GPIOLIB
config ARCH_SH7372 config ARCH_SH7372
bool "SH-Mobile AP4 (SH7372)" bool "SH-Mobile AP4 (SH7372)"
select CPU_V7 select CPU_V7
select HAVE_CLK
select COMMON_CLKDEV
select SH_CLK_CPG select SH_CLK_CPG
select GENERIC_CLOCKEVENTS select ARCH_WANT_OPTIONAL_GPIOLIB
comment "SH-Mobile Board Type" comment "SH-Mobile Board Type"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册