aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-03-30 01:38:56 -0400
committerKumar Gala <galak@kernel.crashing.org>2012-07-10 08:08:58 -0400
commit6d4ae2ddfeb6e361569bf0f4a477157113e8a74a (patch)
tree49b989146446c3748369d8e94f845e4e41afb8aa
parente65650e6c3eb67226eda80a21f62b7aa145878f4 (diff)
powerpc: select PPC_CLOCK unconditionally for FSL_SOC
Freescale PowerPC SoCs share a number of IP blocks with Freescale ARM/IMX SoCs, FlexCAN, SSI, FEC, eSDHC, USB, etc. There are some effort consolidating those drivers to make them work for both architectures. One outstanding difference between two architectures is ARM/IMX will turn off module clocks during platform initialization for power saving and expects drivers manage clocks using clk API, while PowerPC mostly does not do that, and thus does not always build in clk API. Listing all those driver Kconfig options in "select PPC_CLOCK if" seems not scalable for long term maintenance, and could easily introduce Kconfig recursive dependency. This patch chooses to select PPC_CLOCK unconditionally for FSL_SOC to always build clk API for PowerPC in. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--arch/powerpc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 050cb371a69e..9a5d3cdc3e12 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -653,7 +653,7 @@ config SBUS
653config FSL_SOC 653config FSL_SOC
654 bool 654 bool
655 select HAVE_CAN_FLEXCAN if NET && CAN 655 select HAVE_CAN_FLEXCAN if NET && CAN
656 select PPC_CLOCK if CAN_FLEXCAN 656 select PPC_CLOCK
657 657
658config FSL_PCI 658config FSL_PCI
659 bool 659 bool