ar71xx: Add userspace support for AP135
[openwrt.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 49b1de9..3d5efdb 100755 (executable)
@@ -88,7 +88,9 @@ platform_check_image() {
        ap113 | \
        ap121 | \
        ap121-mini | \
-       ap136 | \
+       ap136-010 | \
+       ap136-020 | \
+       ap135-020 | \
        ap96 | \
        db120 | \
        hornet-ub | \
@@ -151,6 +153,7 @@ platform_check_image() {
        tl-mr3020 | \
        tl-mr3040 | \
        tl-mr3220 | \
+       tl-mr3220-v2 | \
        tl-mr3420 | \
        tl-wa7510n | \
        tl-wa901nd | \
@@ -192,6 +195,13 @@ platform_check_image() {
 
                return 0
                ;;
+       uap-pro)
+               [ "$magic_long" != "19852003" ] && {
+                       echo "Invalid image type."
+                       return 1
+               }
+               return 0
+               ;;
        wndr3700)
                local hw_magic