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)
committerJo-Philipp Wich <jo@mein.io>
Wed, 4 Sep 2019 11:25:14 +0000 (13:25 +0200)
commite98eab1b6b775afaec2c62071ca703ea75c6358a
tree5f607aa571a5fc65dc0123e8951b75ab809ffcb0
parentebef2c27eb8a2840ae64ff51785a61f9752e59b1
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>
(cherry picked from commit ccf8a8e8633ccfd94fda233b06055ac42e4c9fd5)
target/linux/bcm53xx/base-files/lib/upgrade/platform.sh