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.sh19
1 files changed, 10 insertions, 9 deletions
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
index 4dc612492c..a5e18201df 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
@@ -10,15 +10,7 @@ platform_check_image() {
platform_do_upgrade() {
case "$(board_name)" in
- asrock,g10)
- asrock_upgrade_prepare
- nand_do_upgrade "$1"
- ;;
- buffalo,wxr-2533dhp)
- buffalo_upgrade_prepare_ubi
- CI_ROOTPART="ubi_rootfs"
- nand_do_upgrade "$1"
- ;;
+ askey,rt4230w-rev6 |\
compex,wpq864|\
netgear,d7800 |\
netgear,r7500 |\
@@ -28,6 +20,15 @@ platform_do_upgrade() {
qcom,ipq8064-ap161)
nand_do_upgrade "$1"
;;
+ asrock,g10)
+ asrock_upgrade_prepare
+ nand_do_upgrade "$1"
+ ;;
+ buffalo,wxr-2533dhp)
+ buffalo_upgrade_prepare_ubi
+ CI_ROOTPART="ubi_rootfs"
+ nand_do_upgrade "$1"
+ ;;
edgecore,ecw5410)
part="$(awk -F 'ubi.mtd=' '{printf $2}' /proc/cmdline | sed -e 's/ .*$//')"
if [ "$part" = "rootfs1" ]; then