bcm53xx: allow sysupgrade firmwares without UBI containing rootfs
authorrmilecki <rmilecki@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Apr 2015 12:04:13 +0000 (12:04 +0000)
committerrmilecki <rmilecki@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Apr 2015 12:04:13 +0000 (12:04 +0000)
commit55fd520cac483fb6efbdd5d6b1da82aa040f8c53
tree4ebc312001220113858ab588795e2c68c70d1023
parente9f589548824bcace0c8a564255a1dffb735d6b6
bcm53xx: allow sysupgrade firmwares without UBI containing rootfs

In most cases it allows reverting back to the vendor firmware (as they
usually don't use UBI). If users wants to do that we can't do anything
anyway. Erease counters will be just lost. The only thing we do is warn:
"Flashing firmware without UBI for rootfs. All erase counters will be
lost."
It still requires forcing sysupgrade.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45392 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/bcm53xx/base-files/lib/upgrade/platform.sh