mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] arm: imx53-qsrb: fix initcalls on START-R board
@ 2014-11-05 16:55 Lucas Stach
  2014-11-07  6:58 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2014-11-05 16:55 UTC (permalink / raw)
  To: barebox

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>
---
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

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

* Re: [PATCH] arm: imx53-qsrb: fix initcalls on START-R board
  2014-11-05 16:55 [PATCH] arm: imx53-qsrb: fix initcalls on START-R board Lucas Stach
@ 2014-11-07  6:58 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2014-11-07  6:58 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Wed, Nov 05, 2014 at 05:55:04PM +0100, Lucas Stach wrote:
> 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>
> ---
> Broken since 2014.06.0, maybe add to stable?

Did that.

Sascha

> ---
>  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
> 

-- 
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] 2+ messages in thread

end of thread, other threads:[~2014-11-07  6:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-05 16:55 [PATCH] arm: imx53-qsrb: fix initcalls on START-R board Lucas Stach
2014-11-07  6:58 ` Sascha Hauer

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