[PATCH 1/5] ARM: i.MX: edmqmx6: fix startup

Lucas Stach l.stach at pengutronix.de
Thu Feb 27 08:53:19 EST 2014


This was broken with commit 2a1f5f802e
"ARM: rename boards to more consistent naming"

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
The bad commit is currently in -master, so this patch
should go there to avoid a breaking this board with the
.03 release.
---
 arch/arm/boards/datamodul-edm-qmx6/lowlevel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boards/datamodul-edm-qmx6/lowlevel.c b/arch/arm/boards/datamodul-edm-qmx6/lowlevel.c
index de7cc98efebe..33e0152bc743 100644
--- a/arch/arm/boards/datamodul-edm-qmx6/lowlevel.c
+++ b/arch/arm/boards/datamodul-edm-qmx6/lowlevel.c
@@ -164,8 +164,8 @@ ENTRY_FUNCTION(start_imx6_realq7, r0, r1, r2)
 		 * inside valid SDRAM instead of SRAM.
 		 */
 		memcpy((void *)sdram, (void *)fdt,
-				__dtb_imx6q_dmo_edmqmx6_start -
-				__dtb_imx6q_dmo_edmqmx6_end);
+				__dtb_imx6q_dmo_edmqmx6_end -
+				__dtb_imx6q_dmo_edmqmx6_start);
 		fdt = sdram;
 	}
 
-- 
1.8.5.3




More information about the barebox mailing list