ramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boards
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index 1906f564e396bcfe0ed6d2ac21f9ba94af9d4251..494e774ef960777214148aa985648e8f5fe684bb 100755 (executable)
@@ -14,6 +14,7 @@ platform_check_image() {
        [ "$ARGC" -gt 1 ] && return 1
 
        case "$board" in
+       all0256n | \
        bc2 | \
        dir-300-b1 | \
        dir-600-b1 | \
@@ -29,8 +30,10 @@ platform_check_image() {
        rt-n15 | \
        w502u |\
        v22rw-2x2 | \
+       wl341v3 | \
        wli-tx4-ag300n | \
-       whr-g300n)
+       whr-g300n |\
+       wr512-3gn)
                [ "$magic" != "2705" ] && {
                        echo "Invalid image type."
                        return 1