aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/rb532/base-files/lib')
-rw-r--r--target/linux/rb532/base-files/lib/upgrade/platform.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/target/linux/rb532/base-files/lib/upgrade/platform.sh b/target/linux/rb532/base-files/lib/upgrade/platform.sh
index a6a6e9b8d3..334d6e2ff6 100644
--- a/target/linux/rb532/base-files/lib/upgrade/platform.sh
+++ b/target/linux/rb532/base-files/lib/upgrade/platform.sh
@@ -10,11 +10,8 @@ platform_check_image() {
return 0;
}
-platform_nand_pre_upgrade() {
+platform_do_upgrade() {
mtd erase kernel
tar xf "$1" "sysupgrade-$(board_name)/kernel" -O | nandwrite -o /dev/mtd0 -
-}
-
-platform_do_upgrade() {
nand_do_upgrade "$1"
}