ar71xx: add support for RB mAP L-2nD
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index f227bf8d18503ee1bbaa166f9a193bd1f9d6b6ab..43515fe93aba6da80c141d5e3142b9a7f046c5e2 100755 (executable)
@@ -344,6 +344,7 @@ platform_check_image() {
        pb42|\
        pb44|\
        rb-941-2nd|\
+       rb-mapl-2nd|\
        routerstation-pro|\
        routerstation|\
        wp543|\
@@ -615,7 +616,8 @@ platform_pre_upgrade() {
        local board=$(ar71xx_board_name)
 
        case "$board" in
-       rb-941-2nd)
+       rb-941-2nd|\
+       rb-mapl-2nd)
                ;;
        rb*|\
        c-60|\
@@ -651,7 +653,8 @@ platform_do_upgrade() {
        local board=$(ar71xx_board_name)
 
        case "$board" in
-       rb-941-2nd)
+       rb-941-2nd|\
+       rb-mapl-2nd)
                PLATFORM_DO_UPGRADE_COMBINED_SEPARATE_MTD=1
                platform_do_upgrade_combined "$ARGV"
                ;;