commit | 67e862b98810b2ad3f1fe05d4cda5cedf077efad | [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 | d20510197093848f282ef2b05f44565e39eab59e [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>