ar71xx: add support for RB mAP L-2nD
[openwrt/staging/wigyori.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 3b7db4699a997abdf6a2df41d874cee6751048cc..43515fe93aba6da80c141d5e3142b9a7f046c5e2 100755 (executable)
@@ -233,6 +233,7 @@ platform_check_image() {
        dlan-pro-500-wp|\
        dr531|\
        dragino2|\
+       ebr-2310-c1|\
        epg5000|\
        esr1750|\
        esr900|\
@@ -343,6 +344,7 @@ platform_check_image() {
        pb42|\
        pb44|\
        rb-941-2nd|\
+       rb-mapl-2nd|\
        routerstation-pro|\
        routerstation|\
        wp543|\
@@ -614,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|\
@@ -650,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"
                ;;