treewide: move nand_do_upgrade call to platform_do_upgrade
authorMathias Kresin <dev@kresin.me>
Mon, 18 Dec 2017 19:32:18 +0000 (20:32 +0100)
committerMathias Kresin <dev@kresin.me>
Fri, 16 Feb 2018 13:44:02 +0000 (14:44 +0100)
commit188328111b46ebc9592ee0f5cbcd2439d1c4aef0
treeacf674c6db8e3004dcb3815ca34fc3092ec3adfb
parentc4ac02ffca4e8b9ffe8c702abf4de4063d3097e6
treewide: move nand_do_upgrade call to platform_do_upgrade

Calling nand_do_upgrade() from platform_pre_upgrade() was deprecated
with 30f61a34b4cf ("base-files: always use staged sysupgrade").

Update the platform upgrade code to use platform_do_upgrade() for NAND
images as well.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/apm821xx/base-files/lib/upgrade/platform.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
target/linux/imx6/base-files/lib/upgrade/platform.sh
target/linux/lantiq/base-files/lib/upgrade/platform.sh
target/linux/mediatek/base-files/lib/upgrade/platform.sh
target/linux/oxnas/base-files/lib/upgrade/platform.sh
target/linux/pistachio/base-files/lib/upgrade/platform.sh
target/linux/rb532/base-files/lib/upgrade/platform.sh