omap4 regression: set correct boot source
Subsystems (2)
PATCH 1/1 omap4 regression: set correct boot source
Signed-off-by Vicente Bergas <[email protected]>
--- arch/arm/mach-omap/omap4_generic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/mach-omap/omap4_generic.c +3 -3
@@ -507,11 +507,11 @@ static int omap4_bootsource(void)u32 bootsrc =readl (OMAP4_TRACING_VECTOR3 );if (bootsrc & (1 <<5 )) -return BOOTSOURCE_MMC ; + src =BOOTSOURCE_MMC ;if (bootsrc & (1 <<3 )) -return BOOTSOURCE_NAND ; + src =BOOTSOURCE_NAND ;if (bootsrc & (1 <<20 )) -return BOOTSOURCE_USB ; + src =BOOTSOURCE_USB ;bootsource_set (src);bootsource_set_instance (0 );
Signature · 7 lines
1.8.2.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 13 lines · Vicente Bergas
Signed-off-by Vicente Bergas <[email protected]>--- arch/arm/mach-omap/omap4_generic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)arch/arm/mach-omap/omap4_generic.c +0
-0@@ -507,11 +507,11 @@ static int omap4_bootsource(void)u32 bootsrc =readl (OMAP4_TRACING_VECTOR3 );if (bootsrc & (1 <<5 ))
arch/arm/mach-omap/omap4_generic.c static int omap4_bootsource(void) · line 516
Quoted 10 lines
arch/arm/mach-omap/omap4_generic.c +3
-3-return BOOTSOURCE_MMC ; + src =BOOTSOURCE_MMC ;if (bootsrc & (1 <<3 )) -return BOOTSOURCE_NAND ; + src =BOOTSOURCE_NAND ;if (bootsrc & (1 <<20 )) -return BOOTSOURCE_USB ; + src =BOOTSOURCE_USB ;bootsource_set (src);bootsource_set_instance (0 );
Sorry for messing this up. Sascha, this patch is correct.
Regards,
Jan
Signature · 10 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 2 lines · Vicente Bergas
Signed-off-by Vicente Bergas <[email protected]>
Folded into the original patch breaking it.
Sascha
Quoted 32 lines
--- arch/arm/mach-omap/omap4_generic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)arch/arm/mach-omap/omap4_generic.c +3
-3@@ -507,11 +507,11 @@ static int omap4_bootsource(void)u32 bootsrc =readl (OMAP4_TRACING_VECTOR3 );if (bootsrc & (1 <<5 )) -return BOOTSOURCE_MMC ; + src =BOOTSOURCE_MMC ;if (bootsrc & (1 <<3 )) -return BOOTSOURCE_NAND ; + src =BOOTSOURCE_NAND ;if (bootsrc & (1 <<20 )) -return BOOTSOURCE_USB ; + src =BOOTSOURCE_USB ;bootsource_set (src);bootsource_set_instance (0 );Signature · 7 lines
1.8.2.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox