Claiming that all of PXA has CLK implemented, while only PXA3XX
selects the relevant clock implementations causes lots of build
failures for the other PXA architectures.

Fix it by moving the HAVE_CLK select to the one PXA arch, that
actually has it.

Signed-off-by: Lucas Stach <[email protected]>
---
 arch/arm/Kconfig          | 1 -
 arch/arm/mach-pxa/Kconfig | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 71d4336d2a70..1fc887ba5971 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -161,7 +161,6 @@ config ARCH_PXA
        bool "Intel/Marvell PXA based"
        select GENERIC_GPIO
        select HAS_POWEROFF
-       select HAVE_CLK
 
 config ARCH_ROCKCHIP
        bool "Rockchip RX3xxx"
diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig
index 1c0894892b17..06ad1885a622 100644
--- a/arch/arm/mach-pxa/Kconfig
+++ b/arch/arm/mach-pxa/Kconfig
@@ -17,6 +17,7 @@ config ARCH_PXA2XX
 config ARCH_PXA3XX
        bool
        select CPU_XSC3
+       select HAVE_CLK
        select CLKDEV_LOOKUP
        select COMMON_CLK
 
-- 
2.6.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to