diff options
author | Antonio Borneo <antonio.borneo@st.com> | 2020-01-28 15:42:13 +0100 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2020-02-13 17:32:09 +0100 |
commit | 441749d9d14d3484da1f19a0e6d4118d9fde9175 (patch) | |
tree | 77f8f7fb38b665dfd230d253a3e815764f79493a /board/st/stm32mp1/stm32mp1.c | |
parent | cf0818b4772b02e63fb980d8c146ef5d780b7940 (diff) | |
download | u-boot-441749d9d14d3484da1f19a0e6d4118d9fde9175.tar.gz u-boot-441749d9d14d3484da1f19a0e6d4118d9fde9175.tar.xz u-boot-441749d9d14d3484da1f19a0e6d4118d9fde9175.zip |
tools: mkimage: fix STM32 image format for big endian hosts
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: Antonio Borneo <antonio.borneo@st.com>
Reviewed-by: Patrick DELAUNAY <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'board/st/stm32mp1/stm32mp1.c')
0 files changed, 0 insertions, 0 deletions