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 14:01:36 +0000 (15:01 +0100)
commit3c2f7bb555c2cd5c4be8aed11b9d31b48cc0bcf8
treee5317afa3f950d4e639220abd6efa431a3abeca0
parent0454691960e16bb93ed01f89352cbb375008aaf5
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>
package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch