bcm53xx: add platform_pre_upgrade to prepare for kernel+UBI sysupgrade
authorrmilecki <rmilecki@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Apr 2015 11:46:16 +0000 (11:46 +0000)
committerrmilecki <rmilecki@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Apr 2015 11:46:16 +0000 (11:46 +0000)
commite9f589548824bcace0c8a564255a1dffb735d6b6
treebeb227c008679fba2d28df2b4d6c039f76003336
parentb82830a9e6b64c355386b96c36ea1767c49dab49
bcm53xx: add platform_pre_upgrade to prepare for kernel+UBI sysupgrade

We can now detect that provided firmware contains kernel and UBI image
partitions. Flashing it in a sane way (keeping erase counters) still
needs to be implemented.

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