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