aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ipq806x/base-files/lib')
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/platform.sh14
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh2
2 files changed, 6 insertions, 10 deletions
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
index 5919613cb9..b61047ff70 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
@@ -21,10 +21,12 @@ platform_do_upgrade() {
netgear,r7500v2 |\
netgear,r7800 |\
qcom,ipq8064-ap148 |\
- qcom,ipq8064-ap161 |\
- zyxel,nbg6817)
+ qcom,ipq8064-ap161)
nand_do_upgrade "$1"
;;
+ zyxel,nbg6817)
+ zyxel_do_upgrade "$1"
+ ;;
linksys,ea8500)
platform_do_upgrade_linksys "$1"
;;
@@ -44,11 +46,3 @@ platform_do_upgrade() {
;;
esac
}
-
-platform_nand_pre_upgrade() {
- case "$(board_name)" in
- zyxel,nbg6817)
- zyxel_do_upgrade "$1"
- ;;
- esac
-}
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh b/target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh
index ba8e825956..33cd98339c 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh
@@ -118,5 +118,7 @@ zyxel_do_upgrade() {
zyxel_do_flash $tar_file $kernel $rootfs $dualflagmtd
+ nand_do_upgrade "$1"
+
return 0
}