bcm53xx: fix UBI EOF patch to allow sysupgrade after first installation
authorRafał Miłecki <zajec5@gmail.com>
Sun, 12 Apr 2015 10:20:59 +0000 (10:20 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Sun, 12 Apr 2015 10:20:59 +0000 (10:20 +0000)
commit503ccc502d98b32a33a196b5cf35b0e324143d27
treee40d628beb37aa96e1758401c8ac3502275fa79d
parenta62fa2d36554600a1eb828c51aa0a7e5e47e7adc
bcm53xx: fix UBI EOF patch to allow sysupgrade after first installation

With previous version of patch info about need of erasing blocks was
stored once per boot. It was breaking in following scenario:
1) First boot after installation (erasing blocks after 0xdeadc0de)
2) Doing sysupgrade (with ubidetach & ubiformat)
3) Attaching UBI again (it caused all blocks to be erased)

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45387
target/linux/bcm53xx/patches-3.18/500-UBI-Detect-EOF-mark-and-erase-all-remaining-blocks.patch