uboot-mediatek: optimize MMC erase
authorDaniel Golle <daniel@makrotopia.org>
Tue, 15 Nov 2022 21:23:06 +0000 (21:23 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 17 Nov 2022 01:55:55 +0000 (01:55 +0000)
commit4c67d1e06657c64aee271c3d2ae061d66e2c2fdc
tree8e2c93ca9f65ef5aa12bd24c3deba25562254f3c
parentc0fb12c42e1731b0bd397df3a57d053e32eb4cf9
uboot-mediatek: optimize MMC erase

Fix mmc_write_vol hush script used by many boards to avoid timeouts on
slow SD cards:
Instead of erasing a complete partition, only erase blocks for the
to-be-written image when writing to MMC.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/boot/uboot-mediatek/patches/400-update-bpir2-defconfig.patch
package/boot/uboot-mediatek/patches/401-update-u7623-defconfig.patch
package/boot/uboot-mediatek/patches/404-add-bananapi_bpi-r64_defconfigs.patch
package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch