Skip to content
Snippets Groups Projects
user avatar
Antonio Borneo authored
Two header fields are not properly converted to little endian
before assignment, resulting in incorrect header while executing
mkimage on big endian hosts.

Convert the value of the header fields image_checksum and
edcsa_algorithm to little endian before the assignment.

Signed-off-by: default avatarAntonio Borneo <antonio.borneo@st.com>
Reviewed-by: default avatarPatrick DELAUNAY <patrick.delaunay@st.com>
Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
441749d9
History