uboot-mediatek: bpi-r3: prepare for larger FIT structures
authorDaniel Golle <daniel@makrotopia.org>
Wed, 9 Aug 2023 11:21:41 +0000 (12:21 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 13 Aug 2023 15:30:14 +0000 (16:30 +0100)
commitdd00bcb43ec5097ac354bc5eebeb72634164b1db
treecaca985448746849aa4afd1432dbc1bbe1d730d6
parent452e4f064f139066ffc00732d7a01859a559a26c
uboot-mediatek: bpi-r3: prepare for larger FIT structures

Instead of reading only a single 4kiB page, read the first 128kiB to
determine the size of an uImage.FIT using 'imsz' or 'imszb'.
This will be needed once we add more Device Tree Overlays, which may
happen for the BPi-R3 mini.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 3c2f7bb555c2cd5c4be8aed11b9d31b48cc0bcf8)
package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch