summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-11-05 17:55:04 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-11-07 07:56:46 +0100
commit7675ec53a7ce99391a1dfc1afacb8f29b967195f (patch)
treedce682d36b69c967c07db7e5888633365864a68b
parent15fe5e42b2bff3544434e07aff98262507ab04b3 (diff)
downloadbarebox-7675ec53a7ce99391a1dfc1afacb8f29b967195f.tar.gz
arm: imx53-qsrb: fix initcalls on START-R boardstable/v2014.05
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 <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/boards/freescale-mx53-qsb/board.c6
1 files 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 38d1ee6..0209e07 100644
--- a/arch/arm/boards/freescale-mx53-qsb/board.c
+++ b/arch/arm/boards/freescale-mx53-qsb/board.c
@@ -84,7 +84,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");
@@ -171,7 +172,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);