mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/9] ARM: imx53: guard voipac vmx53 init function
@ 2014-01-13  0:17 Lucas Stach
  2014-01-13  0:17 ` [PATCH 2/9] dt-bindings: import input.h Lucas Stach
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Lucas Stach @ 2014-01-13  0:17 UTC (permalink / raw)
  To: barebox

Otherwise we end up doing the VMX53 board init for
unrelated boards when using a multiimage build.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
 arch/arm/boards/freescale-mx53-vmx53/board.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boards/freescale-mx53-vmx53/board.c b/arch/arm/boards/freescale-mx53-vmx53/board.c
index b38db71..d0cc495 100644
--- a/arch/arm/boards/freescale-mx53-vmx53/board.c
+++ b/arch/arm/boards/freescale-mx53-vmx53/board.c
@@ -30,6 +30,9 @@ extern char flash_header_imx53_vmx53_end[];
 
 static int vmx53_late_init(void)
 {
+	if (!of_machine_is_compatible("voipac,imx53-dmm-668"))
+			return 0;
+
 	armlinux_set_architecture(MACH_TYPE_VMX53);
 
 	barebox_set_model("Voipac VMX53");
-- 
1.8.4.2


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

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

end of thread, other threads:[~2014-01-14 16:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-13  0:17 [PATCH 1/9] ARM: imx53: guard voipac vmx53 init function Lucas Stach
2014-01-13  0:17 ` [PATCH 2/9] dt-bindings: import input.h Lucas Stach
2014-01-13  0:17 ` [PATCH 3/9] dt-bindings: import irq.h Lucas Stach
2014-01-13  0:17 ` [PATCH 4/9] ARM: imx6: update pin related DT headers Lucas Stach
2014-01-13  0:17 ` [PATCH 5/9] ARM: imx6: update base DTs Lucas Stach
2014-01-13  0:17 ` [PATCH 6/9] ARM: imx6: split sabrelite DT Lucas Stach
2014-01-13  0:17 ` [PATCH 7/9] ARM: imx6: add support for DL variant of SabreLite Board Lucas Stach
2014-01-13  0:17 ` [PATCH 8/9] ARM: imx6: add initial support for Nitrogen6X boards Lucas Stach
2014-01-13  0:17 ` [PATCH 9/9] ARM: imx6: rename Carrier-1 to Hummingboard Lucas Stach
2014-01-14 16:22 ` [PATCH 1/9] ARM: imx53: guard voipac vmx53 init function Sascha Hauer

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