Skip to content

Commit

Permalink
ARM: msm: Simplify ARCH_MSM_DT config
Browse files Browse the repository at this point in the history
This doesn't need to be a def_bool y. Instead we can have every
DT supported platform select ARCH_MSM_DT and we achieve the same
thing with less chance of conflicts.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Stephen Boyd authored and Olof Johansson committed Jan 2, 2014
1 parent 2aec37c commit 17d0900
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arch/arm/mach-msm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ endchoice

config ARCH_MSM8X60
bool "MSM8X60"
select ARCH_MSM_DT
select ARM_GIC
select CPU_V7
select GPIO_MSM_V2
Expand All @@ -52,6 +53,7 @@ config ARCH_MSM8X60

config ARCH_MSM8960
bool "MSM8960"
select ARCH_MSM_DT
select ARM_GIC
select CPU_V7
select HAVE_SMP
Expand All @@ -60,6 +62,7 @@ config ARCH_MSM8960

config ARCH_MSM8974
bool "MSM8974"
select ARCH_MSM_DT
select ARM_GIC
select CPU_V7
select HAVE_ARM_ARCH_TIMER
Expand All @@ -68,8 +71,7 @@ config ARCH_MSM8974
select USE_OF

config ARCH_MSM_DT
def_bool y
depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
bool
select SPARSE_IRQ
select USE_OF

Expand Down

0 comments on commit 17d0900

Please sign in to comment.