uboot-mediatek: fix determine the size of an uImage.FIT using 'imsz' or 'imszb'.
authorJianhui Zhao <zhaojh329@gmail.com>
Fri, 20 Oct 2023 03:59:34 +0000 (11:59 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 31 Oct 2023 22:18:19 +0000 (22:18 +0000)
commit1157b8c1f1a37fe81fc652e4f7037ef5990fda4f
tree1b03d39f026be7a4dc16a0d5f9162ce72f08bfe6
parent89184b15cfce4aaffac8cda87c2fa74f829ace42
uboot-mediatek: fix determine the size of an uImage.FIT using 'imsz' or 'imszb'.

It must read the entire image for previous code of 'imsz' or 'imszb'.

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Suggested-by: Chuanhong Guo <gch981213@gmail.com>
(cherry picked from commit 3bbc1d5fba1d700917138334a48c16bafdf48de9)
package/boot/uboot-mediatek/patches/200-cmd-add-imsz-and-imszb.patch