ar71xx: add support for RB750UPr2
[openwrt/staging/yousong.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 3b7db4699a997abdf6a2df41d874cee6751048cc..110525448394cc58660352f16813fbef142be935 100755 (executable)
@@ -233,6 +233,7 @@ platform_check_image() {
        dlan-pro-500-wp|\
        dr531|\
        dragino2|\
+       ebr-2310-c1|\
        epg5000|\
        esr1750|\
        esr900|\
@@ -342,7 +343,10 @@ platform_check_image() {
        ls-sr71|\
        pb42|\
        pb44|\
+       rb-750up-r2|\
        rb-941-2nd|\
+       rb-951ui-2nd|\
+       rb-mapl-2nd|\
        routerstation-pro|\
        routerstation|\
        wp543|\
@@ -614,7 +618,10 @@ platform_pre_upgrade() {
        local board=$(ar71xx_board_name)
 
        case "$board" in
-       rb-941-2nd)
+       rb-750up-r2|\
+       rb-941-2nd|\
+       rb-951ui-2nd|\
+       rb-mapl-2nd)
                ;;
        rb*|\
        c-60|\
@@ -650,7 +657,10 @@ platform_do_upgrade() {
        local board=$(ar71xx_board_name)
 
        case "$board" in
-       rb-941-2nd)
+       rb-750up-r2|\
+       rb-941-2nd|\
+       rb-951ui-2nd|\
+       rb-mapl-2nd)
                PLATFORM_DO_UPGRADE_COMBINED_SEPARATE_MTD=1
                platform_do_upgrade_combined "$ARGV"
                ;;