openwrt/target/linux/ipq40xx/base-files
Bjørn Mork 8ac8c09f5e ipq40xx: sysupgrade: drop disabled UBI to UBI logic
The commented out code is not required, as the comment
indicates.

The purpose of this code seems to be to avoid issues caused
by partially overwriting an existing UBI partition, where some
of the erase counters would be reset but not the unmodified
ones.  This problem has been solved in a more generic way by
the UBI EOF marker. This ensures that any old PEBs after the
marker are properly initialized.  It is therefore unnecessary
to erase the whole partition before flashing a new OpenWrt
factory image.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
2021-12-03 12:23:02 +01:00
..
etc ipq40xx: add support for GL.iNet GL-B2200 2021-12-02 20:43:07 +00:00
lib ipq40xx: sysupgrade: drop disabled UBI to UBI logic 2021-12-03 12:23:02 +01:00