ramips: add dwr-512 jboot firmware configuration
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index 44be484374f56a2e0fe729a49f9fc111cc6efc2b..c58102cf4e96b3548045d62d3f18d2bc44ca1065 100755 (executable)
@@ -52,7 +52,6 @@ platform_check_image() {
        dir-620-d1|\
        dir-810l|\
        duzun-dm06|\
-       dwr-512-b|\
        e1700|\
        esr-9753|\
        ew1200|\
@@ -272,7 +271,8 @@ platform_check_image() {
                return 0
                ;;
        dlink,dwr-116-a1|\
-       dlink,dwr-921-c1)
+       dlink,dwr-921-c1|\
+       dwr-512-b)
                [ "$magic" != "0404242b" ] && {
                        echo "Invalid image type."
                        return 1