Skip to content
Commit 29ef48ef authored by Samuel Holland's avatar Samuel Holland Committed by Kever Yang
Browse files

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: default avatarSamuel Holland <samuel@sholland.org>
Reviewed-by: default avatarKever <Yang&lt;kever.yang@rock-chips.com>
parent d2ebd86d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment