ramips: Add device DLINK DWR-512-B
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index 162a69e3d802128733cc4ee8904253c1452d5efa..3c1fb4168cd23fb21bdf7d4b288c3427a53d6a38 100755 (executable)
@@ -16,9 +16,8 @@ platform_check_image() {
        case "$board" in
        3g150b|\
        3g300m|\
-       3g-6200n|\
-       3g-6200nl|\
        a5-v11|\
+       ac1200pro|\
        ai-br100|\
        air3gii|\
        all0239-3g|\
@@ -51,6 +50,7 @@ platform_check_image() {
        dir-620-d1|\
        dir-810l|\
        duzun-dm06|\
+       dwr-512-b|\
        e1700|\
        esr-9753|\
        ex2700|\
@@ -71,6 +71,7 @@ platform_check_image() {
        jhr-n805r|\
        jhr-n825r|\
        jhr-n926r|\
+       kng_rc|\
        linkits7688|\
        linkits7688d|\
        m2m|\
@@ -96,14 +97,18 @@ platform_check_image() {
        mzk-w300nh2|\
        mzk-wdpr|\
        nbg-419n|\
+       nbg-419n2|\
+       newifi-d1|\
        nixcore|\
        nw718|\
        oy-0001|\
        pbr-d1|\
        pbr-m1|\
        psg1208|\
+       psg1218|\
        psr-680w|\
        px-4885|\
+       rb750gr3|\
        re6500|\
        rp-n53|\
        rt5350f-olinuxino|\
@@ -127,7 +132,9 @@ platform_check_image() {
        ur-336un|\
        v22rw-2x2|\
        vocore|\
+       vr500|\
        w150m|\
+       w2914nsv2|\
        w306r-v20|\
        w502u|\
        wf-2881|\
@@ -142,7 +149,9 @@ platform_check_image() {
        wl-330n3g|\
        wl-341v3|\
        wl-351|\
+       wl-wn575a3|\
        wli-tx4-ag300n|\
+       wlr-6000|\
        wmr-300|\
        wnce2001|\
        wndr3700v5|\
@@ -175,15 +184,18 @@ platform_check_image() {
                }
                return 0
                ;;
-       ar670w)
-               [ "$magic" != "6d000080" ] && {
+       3g-6200n|\
+       3g-6200nl|\
+       br-6475nd)
+               [ "$magic" != "43535953" ] && {
                        echo "Invalid image type."
                        return 1
                }
                return 0
                ;;
-       br-6475nd)
-               [ "$magic" != "43535953" ] && {
+
+       ar670w)
+               [ "$magic" != "6d000080" ] && {
                        echo "Invalid image type."
                        return 1
                }