From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xm3rn-0000Jl-7S for barebox@lists.infradead.org; Wed, 05 Nov 2014 16:55:32 +0000 Received: from dude.hi.4.pengutronix.de ([10.1.0.7] helo=dude.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Xm3rM-0006bH-Cp for barebox@lists.infradead.org; Wed, 05 Nov 2014 17:55:04 +0100 From: Lucas Stach Date: Wed, 5 Nov 2014 17:55:04 +0100 Message-Id: <1415206504-7140-1-git-send-email-l.stach@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] arm: imx53-qsrb: fix initcalls on START-R board To: barebox@lists.infradead.org The compatible changed when we switched to the upstream DTs, so the initcalls would not be executed on the START-R board. Signed-off-by: Lucas Stach --- Broken since 2014.06.0, maybe add to stable? --- arch/arm/boards/freescale-mx53-qsb/board.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boards/freescale-mx53-qsb/board.c b/arch/arm/boards/freescale-mx53-qsb/board.c index 9a9bffa2ef6d..1128e686bc03 100644 --- a/arch/arm/boards/freescale-mx53-qsb/board.c +++ b/arch/arm/boards/freescale-mx53-qsb/board.c @@ -81,7 +81,8 @@ static int loco_late_init(void) struct mc13xxx *mc34708; int rev; - if (!of_machine_is_compatible("fsl,imx53-qsb")) + if (!of_machine_is_compatible("fsl,imx53-qsb") && + !of_machine_is_compatible("fsl,imx53-qsrb")) return 0; device_detect_by_name("mmc0"); @@ -167,7 +168,8 @@ late_initcall(loco_late_init); static int loco_postcore_init(void) { - if (!of_machine_is_compatible("fsl,imx53-qsb")) + if (!of_machine_is_compatible("fsl,imx53-qsb") && + !of_machine_is_compatible("fsl,imx53-qsrb")) return 0; imx53_init_lowlevel(1000); -- 2.1.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox