arm: imx53-qsrb: fix initcalls on START-R board
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>
This commit is contained in:
parent
592d35a47c
commit
b6390cf623
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue