ar71xx: Unifi AP Pro sysupgrade patch
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 28e4a91ff1c43302b2a5dc6191d575f64e107e84..1eb9354057548529b91f1db04b5bbb9d66b8c46a 100755 (executable)
@@ -98,6 +98,7 @@ platform_check_image() {
        ap96 | \
        db120 | \
        hornet-ub | \
+       bxu2000n-2-a1 | \
        zcn-1523h-2 | \
        zcn-1523h-5)
                [ "$magic_long" != "68737173" -a "$magic_long" != "19852003" ] && {
@@ -189,6 +190,8 @@ platform_check_image() {
        tl-mr3420 | \
        tl-mr3420-v2 | \
        tl-wa7510n | \
+       tl-wa750re | \
+       tl-wa850re | \
        tl-wa901nd | \
        tl-wa901nd-v2 | \
        tl-wdr3500 | \
@@ -324,6 +327,10 @@ platform_do_upgrade() {
        om2p-lc)
                platform_do_upgrade_openmesh "$ARGV"
                ;;
+       uap-pro)
+               MTD_CONFIG_ARGS="-s 0x180000"
+               default_do_upgrade "$ARGV"
+               ;;
        *)
                default_do_upgrade "$ARGV"
                ;;