i.MX53/TX53: Adjust to latest get_runtime_offset()
Subsystems (2)
PATCH 1/2 i.MX53/TX53: Adjust to latest get_runtime_offset()
Latest version of get_runtime_offset() returns positive offset that needs to be added to rather than substracted from original pointer.
---
Sascha:
This one obviously needs to go into master as well. Sorry for the noise if this has already been fixed.
Thanks,
Andrey Smirnov
arch/arm/boards/karo-tx53/lowlevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boards/karo-tx53/lowlevel.c +1 -1
@@ -47,7 +47,7 @@ static void __imx53_tx53_init(int is_xx30)if (IS_ENABLED (CONFIG_DEBUG_LL ))setup_uart (); - fdt = fdt_blob_fixed_offset -get_runtime_offset (); + fdt = fdt_blob_fixed_offset +get_runtime_offset ();imx53_barebox_entry (fdt); }
Signature · 7 lines
2.14.3 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 2/2 boards: samx6: Adjust to latest get_runtime_offset()
Latest version of get_runtime_offset() returns positive offset that needs to be added to rather than substracted from original pointer.
---
Sascha:
This one obviously needs to go into master as well. Sorry for the noise if this has already been fixed.
Thanks,
Andrey Smirnov
arch/arm/boards/kontron-samx6i/lowlevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boards/kontron-samx6i/lowlevel.c +1 -1
@@ -47,7 +47,7 @@ static void __noreturn start_imx6_samx6i_common(void *fdt_blob_fixed_offset)if (IS_ENABLED (CONFIG_DEBUG_LL ))setup_uart (); - fdt = fdt_blob_fixed_offset -get_runtime_offset (); + fdt = fdt_blob_fixed_offset +get_runtime_offset ();barebox_arm_entry (0x10000000 , size, fdt); }
Signature · 7 lines
2.14.3 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 11 lines · Andrey Smirnov
Latest version of
get_runtime_offset()returns positive offset that needs to be added to rather than substracted from original pointer.Cc Michael Grzeschik <[email protected]>Signed-off-by Andrey Smirnov <[email protected]>---
Sascha:
This one obviously needs to go into master as well. Sorry for the noise if this has already been fixed.
Applied to master, thanks
Sascha
Quoted 29 lines
Thanks,
Andrey Smirnovarch/arm/boards/karo-tx53/lowlevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/boards/karo-tx53/lowlevel.c +1
-1@@ -47,7 +47,7 @@ static void __imx53_tx53_init(int is_xx30)if (IS_ENABLED (CONFIG_DEBUG_LL ))setup_uart (); - fdt = fdt_blob_fixed_offset -get_runtime_offset (); + fdt = fdt_blob_fixed_offset +get_runtime_offset ();imx53_barebox_entry (fdt); }Signature · 7 lines
2.14.3 _______________________________________________ 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