commit | 29ef48efe131678a02750f0a8daa5b2b71530e87 | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Sat Oct 24 11:43:17 2020 -0500 |
committer | Kever Yang <kever.yang@rock-chips.com> | Fri Oct 30 23:09:56 2020 +0800 |
tree | b527b1d52e07fac6b414a6c6494410ff09e9bd7c | |
parent | d2ebd86d2e10370b4e27109b341ca0268c84f5c8 [diff] |
rockchip: mkimage: Remove host endianness dependency The Rockchip boot ROM expects little-endian values in the image header. When running mkimage on a big-endian machine, these values need to be byteswapped before writing or verifying the header. This change fixes cross-compiling U-Boot SPL for the RK3399 SoC from a big-endian ppc64 host machine. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Kever Yang<kever.yang@rock-chips.com>