
13 Aug
2015
13 Aug
'15
3:21 p.m.
On Thu, Jul 30, 2015 at 02:00:01PM +0800, Gong Qianyu wrote:
Modify the data pointer type from ulong* to u32*.
For arm64 type "ulong" could be 64-bit. Then in line 89 of common/cmd_source.c: "while (*data++);" data will point to the next 64 bits each time. As the uImage file generated by mkimage tool keeps the same data format in either 32-bit or 64-bit platform, the difference would cause failure in 64-bit platform.
Signed-off-by: Gong Qianyu Qianyu.Gong@freescale.com
diff --git a/common/cmd_source.c b/common/cmd_source.c index d2a881d..db7ab7e 100644
Applied to u-boot/master, thanks!
--
Tom