diff options
author | Bjørn Mork <bjorn@mork.no> | 2021-03-20 11:48:26 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2021-12-03 12:23:02 +0100 |
commit | 5fb51d4516d27dcf72d2a1592abba922259ec8e5 (patch) | |
tree | 5f3ba5df36c0ed3a3e3c6f2ac8d1096538b688e4 /target/linux/ipq40xx | |
parent | 25382dff8584ffc70917e9f693681fb7d9c06826 (diff) | |
download | upstream-5fb51d4516d27dcf72d2a1592abba922259ec8e5.tar.gz upstream-5fb51d4516d27dcf72d2a1592abba922259ec8e5.tar.bz2 upstream-5fb51d4516d27dcf72d2a1592abba922259ec8e5.zip |
ipq806x: sysupgrade: drop unnecessary UBI to UBI logic
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/ipq40xx')
0 files changed, 0 insertions, 0 deletions