bcm53xx: sysupgrade: call nand_do_upgrade() from platform_do_upgrade()
authorRafał Miłecki <rafal@milecki.pl>
Tue, 2 Jul 2019 14:10:56 +0000 (16:10 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 8 Jul 2019 05:38:12 +0000 (07:38 +0200)
commitccf8a8e8633ccfd94fda233b06055ac42e4c9fd5
tree0bccbb14ef922ac8f207e7822ad549f3a65ebdfa
parentf58ca6ee57b77350c69639defdceacb2e77e2249
bcm53xx: sysupgrade: call nand_do_upgrade() from platform_do_upgrade()

Calling nand_do_upgrade() from platform_pre_upgrade() was obsoleted in
the commit 30f61a34b4cf ("base-files: always use staged sysupgrade").

This change brings bcm53xx in sync with other targets and allows
dropping backward compatibility code. It shouldn't change any user
visible behavior.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
target/linux/bcm53xx/base-files/lib/upgrade/platform.sh