aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-12-30 11:55:16 +0100
committerFelix Fietkau <nbd@nbd.name>2016-12-30 12:58:20 +0100
commit83d59453c0eb561692298ee59423ba5798ee1887 (patch)
tree8566d9eaaf783a83a92836bc6ac5175cfc205677 /target/linux/kirkwood/base-files
parent8f5cf323c4ea6d9b4a313614b8b30c88475cba45 (diff)
downloadupstream-83d59453c0eb561692298ee59423ba5798ee1887.tar.gz
upstream-83d59453c0eb561692298ee59423ba5798ee1887.tar.bz2
upstream-83d59453c0eb561692298ee59423ba5798ee1887.zip
kirkwood: fix sysupgrade for non-dockstar NAND devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/kirkwood/base-files')
-rw-r--r--target/linux/kirkwood/base-files/lib/upgrade/platform.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/kirkwood/base-files/lib/upgrade/platform.sh b/target/linux/kirkwood/base-files/lib/upgrade/platform.sh
index be5f101673..e7c6a1120a 100644
--- a/target/linux/kirkwood/base-files/lib/upgrade/platform.sh
+++ b/target/linux/kirkwood/base-files/lib/upgrade/platform.sh
@@ -14,7 +14,7 @@ platform_check_image() {
}
return 0
;;
- "dockstar")
+ *)
nand_do_platform_check $board $1
return $?
;;
@@ -32,6 +32,9 @@ platform_do_upgrade() {
"linksys-viper")
platform_do_upgrade_linksys "$ARGV"
;;
+ *)
+ default_do_upgrade "$@"
+ ;;
esac
}
@@ -39,7 +42,9 @@ platform_pre_upgrade() {
local board=$(kirkwood_board_name)
case "$board" in
- "dockstar")
+ "linksys-audi"|\
+ "linksys-viper") ;;
+ *)
nand_do_upgrade $1
;;
esac