]> git.dujemihanovic.xyz Git - u-boot.git/commit
fwu_metadata: make sure structures are packed
authorRui Miguel Silva <rui.silva@linaro.org>
Mon, 12 Jun 2023 08:09:15 +0000 (09:09 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 19 Jun 2023 18:34:16 +0000 (14:34 -0400)
commit2974e2cd287003a21d73b04ea6d11ede423db464
tree631a22db2a0eab2ea214df85be5ad69bfa5f3bbc
parentacfd0ff3cf23506e7de4c4fca1c3b4b713281317
fwu_metadata: make sure structures are packed

The fwu metadata in the metadata partitions
should/are packed to guarantee that the info is
correct in all platforms. Also the size of them
are used to calculate the crc32 and that is important
to get it right.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/fwu_mdata.h