uboot-mediatek: unifi-6-lr: fix erase of production parition
authorDaniel Golle <daniel@makrotopia.org>
Thu, 29 Apr 2021 01:06:09 +0000 (02:06 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 7 May 2021 21:50:15 +0000 (22:50 +0100)
commitaf3a1adee063fa31cc05649f718f6ef2488a5232
tree7009e833c14d8ba332ed52265ec9c715a8a7313f
parentcde31976e37513cf2977e6d4b691f561344e61ed
uboot-mediatek: unifi-6-lr: fix erase of production parition

mtd erase needs to be aligned with erase blocks. Use padded image size
for erasing the production volume.
As the environment grew above the current size of 0x1000 bytes by
introducing the new padding function, increase the env size to 0x4000.
While at it, clean up reset button function to work to more reliable on
that board.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/boot/uboot-mediatek/patches/300-mt7622-generic-reset-button-ignore-env.patch
package/boot/uboot-mediatek/patches/412-add-ubnt-unifi-6-lr.patch