diff options
author | Bjørn Mork <bjorn@mork.no> | 2021-03-20 11:48:25 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2021-12-03 12:23:02 +0100 |
commit | 25382dff8584ffc70917e9f693681fb7d9c06826 (patch) | |
tree | f8148bb95b76c7ef6f5775f0ecef492448e19612 /target/linux/realtek | |
parent | 0efb169aadc868768fde4a22c3be8a3742f73dbe (diff) | |
download | upstream-25382dff8584ffc70917e9f693681fb7d9c06826.tar.gz upstream-25382dff8584ffc70917e9f693681fb7d9c06826.tar.bz2 upstream-25382dff8584ffc70917e9f693681fb7d9c06826.zip |
kirkwood: 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/realtek')
0 files changed, 0 insertions, 0 deletions