Skip to content
Snippets Groups Projects
Commit 210fbee9 authored by Gong Qianyu's avatar Gong Qianyu Committed by Tom Rini
Browse files

common/cmd_source.c: Fix the source command failure under 64-bit platform


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: default avatarGong Qianyu <Qianyu.Gong@freescale.com>
parent 7ef4c45c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment