aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/p1010
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2021-03-20 11:48:24 +0100
committerChristian Lamparter <chunkeey@gmail.com>2021-12-03 12:23:02 +0100
commit0efb169aadc868768fde4a22c3be8a3742f73dbe (patch)
tree1752b8ddcc6336225b421d6f1d18ef5bcd1e4c40 /target/linux/mpc85xx/p1010
parentfc4398fe71810f3bb5637bdfd0b3975a8ec858f0 (diff)
downloadupstream-0efb169aadc868768fde4a22c3be8a3742f73dbe.tar.gz
upstream-0efb169aadc868768fde4a22c3be8a3742f73dbe.tar.bz2
upstream-0efb169aadc868768fde4a22c3be8a3742f73dbe.zip
mvebu: sysupgrade: drop unnecessary UBI to UBI logic
The recent changes to the maximum kernel size for Mamba and Venom highlighted the fact that the old Mamba kernel size has been hardcoded in linksys_get_root_magic() even for devices with a different kernel/rootfs split. 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/mpc85xx/p1010')
0 files changed, 0 insertions, 0 deletions