ramips: add support for TP-Link TL-MR3420 v5
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index 14f5ec2cb3e380728be2ba25c4efbe9098104864..8160f5d3887971bd234879334480db000260517c 100755 (executable)
@@ -27,9 +27,9 @@ platform_check_image() {
        awapn2403|\
        awm002-evb-4M|\
        awm002-evb-8M|\
-       awm003-evb|\
        bc2|\
        broadway|\
+       c108|\
        carambola|\
        cf-wr800n|\
        cs-qr10|\
@@ -81,7 +81,6 @@ platform_check_image() {
        kn_rf|\
        kng_rc|\
        linkits7688|\
-       linkits7688d|\
        m2m|\
        m3|\
        m4-4M|\
@@ -108,6 +107,7 @@ platform_check_image() {
        nbg-419n|\
        nbg-419n2|\
        newifi-d1|\
+       d-team,newifi-d2|\
        nixcore-x1-8M|\
        nixcore-x1-16M|\
        nw718|\
@@ -130,6 +130,7 @@ platform_check_image() {
        rt-ac51u|\
        rt-g32-b1|\
        rt-n10-plus|\
+       rt-n12p|\
        rt-n13u|\
        rt-n14u|\
        rt-n15|\
@@ -144,12 +145,17 @@ platform_check_image() {
        tew-714tru|\
        timecloud|\
        tiny-ac|\
+       u25awf-h1|\
+       u7621-06-256M-16M|\
+       u7628-01-128M-16M|\
        ur-326n4g|\
        ur-336un|\
        v22rw-2x2|\
+       vonets,var11n-300|\
        vocore-8M|\
        vocore-16M|\
        vocore2|\
+       vocore2lite|\
        vr500|\
        w150m|\
        w2914nsv2|\
@@ -192,11 +198,13 @@ platform_check_image() {
        x8|\
        y1|\
        y1s|\
+       we1026-5g-16m|\
        zbt-ape522ii|\
        zbt-cpe102|\
        zbt-wa05|\
        zbt-we1326|\
        zbt-we2026|\
+       zbtlink,zbt-we3526|\
        zbt-we826-16M|\
        zbt-we826-32M|\
        zbt-wg2626|\
@@ -228,10 +236,13 @@ platform_check_image() {
                }
                return 0
                ;;
+       c20|\
        c20i|\
        c50|\
        mr200|\
+       tplink,tl-mr3420-v5|\
        tl-wr840n-v4|\
+       tl-wr840n-v5|\
        tl-wr841n-v13)
                [ "$magic" != "03000000" ] && {
                        echo "Invalid image type."
@@ -251,6 +262,7 @@ platform_check_image() {
                return 0
                ;;
        hc5962|\
+       mir3g|\
        r6220)
                # these boards use metadata images
                return 0
@@ -297,6 +309,7 @@ platform_do_upgrade() {
 
        case "$board" in
        hc5962|\
+       mir3g|\
        r6220|\
        ubnt-erx|\
        ubnt-erx-sfp)