mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: PXA: move HAVE_CLK select
@ 2016-01-18 10:19 Lucas Stach
  2016-01-19  7:53 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Lucas Stach @ 2016-01-18 10:19 UTC (permalink / raw)
  To: barebox

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 <l.stach@pengutronix.de>
---
 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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: PXA: move HAVE_CLK select
  2016-01-18 10:19 [PATCH] ARM: PXA: move HAVE_CLK select Lucas Stach
@ 2016-01-19  7:53 ` Sascha Hauer
  2016-01-19 16:24   ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2016-01-19  7:53 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Mon, Jan 18, 2016 at 11:19:20AM +0100, Lucas Stach wrote:
> 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.

I can't see any build failures here. which config/branch are you using?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: PXA: move HAVE_CLK select
  2016-01-19  7:53 ` Sascha Hauer
@ 2016-01-19 16:24   ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2016-01-19 16:24 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Tue, Jan 19, 2016 at 08:53:02AM +0100, Sascha Hauer wrote:
> On Mon, Jan 18, 2016 at 11:19:20AM +0100, Lucas Stach wrote:
> > 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.
> 
> I can't see any build failures here. which config/branch are you using?

Ok, Lucas told me: HAVE_CLK makes other code selectable which depends on
clk_* functions which are not available.

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-19 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-18 10:19 [PATCH] ARM: PXA: move HAVE_CLK select Lucas Stach
2016-01-19  7:53 ` Sascha Hauer
2016-01-19 16:24   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox