X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fbase-files%2Flib%2Fupgrade%2Fplatform.sh;h=45e141de02be257807007810f7f31f9ebafceb93;hb=14951e8f8e09ba6e2cff140769189a66155a5345;hp=68b47eeba03a1b40b9661151cb632fccbfe5cae9;hpb=c0e131b4363dde16a1071131b7e762e36099f780;p=openwrt%2Fstaging%2Fblogic.git diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 68b47eeba03a..45e141de02be 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -16,6 +16,7 @@ platform_check_image() { a5-v11|\ ai-br100|\ air3gii|\ + alfa-network,ac1200rm|\ all0239-3g|\ all0256n-4M|\ all0256n-8M|\ @@ -166,7 +167,8 @@ platform_check_image() { whr-300hp2|\ whr-600d|\ whr-g300n|\ - widora-neo|\ + widora,neo-16m|\ + widora,neo-32m|\ witi|\ wizfi630a|\ wl-330n|\ @@ -202,6 +204,7 @@ platform_check_image() { zbt-ape522ii|\ zbt-cpe102|\ zbt-wa05|\ + zbtlink,zbt-we1226|\ zbt-we1326|\ zbt-we2026|\ zbtlink,zbt-we3526|\ @@ -236,10 +239,13 @@ platform_check_image() { } return 0 ;; - c20|\ c20i|\ c50|\ mr200|\ + tplink,c20-v1|\ + tplink,c20-v4|\ + tplink,c50-v3|\ + tplink,tl-mr3420-v5|\ tl-wr840n-v4|\ tl-wr840n-v5|\ tl-wr841n-v13) @@ -262,9 +268,11 @@ platform_check_image() { ;; hc5962|\ mir3g|\ - r6220) - # these boards use metadata images - return 0 + r6220|\ + ubnt-erx|\ + ubnt-erx-sfp) + nand_do_platform_check "$board" "$1" + return $?; ;; re350-v1) [ "$magic" != "01000000" ] && { @@ -273,11 +281,6 @@ platform_check_image() { } return 0 ;; - ubnt-erx|\ - ubnt-erx-sfp) - nand_do_platform_check "$board" "$1" - return $?; - ;; wcr-1166ds|\ wsr-1166) [ "$magic" != "48445230" ] && {