diff options
author | Bjørn Mork <bjorn@mork.no> | 2021-03-20 11:48:27 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2021-12-03 12:23:02 +0100 |
commit | 8ac8c09f5ebbb6ae5e73b8a8ff4b095c1154f707 (patch) | |
tree | c104ae227be5d6b8cb599c86803e2903c2c76011 /target/linux/ath79/generic/base-files/etc | |
parent | 5fb51d4516d27dcf72d2a1592abba922259ec8e5 (diff) | |
download | upstream-8ac8c09f5ebbb6ae5e73b8a8ff4b095c1154f707.tar.gz upstream-8ac8c09f5ebbb6ae5e73b8a8ff4b095c1154f707.tar.bz2 upstream-8ac8c09f5ebbb6ae5e73b8a8ff4b095c1154f707.zip |
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>
Diffstat (limited to 'target/linux/ath79/generic/base-files/etc')
0 files changed, 0 insertions, 0 deletions