ar71xx: add sysupgrade support for OpenMesh MR600v2
authorGabor Juhos <juhosg@openwrt.org>
Fri, 1 Feb 2013 15:50:47 +0000 (15:50 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 1 Feb 2013 15:50:47 +0000 (15:50 +0000)
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35430

target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index ccce81174eaf30ac0739c206350d520017095d72..2575b0a7f0cf78e23fcc139d740a5dcb81ccc13c 100644 (file)
@@ -64,6 +64,7 @@ platform_check_image_openmesh()
                        ;;
                MR600)
                        [ "$board" = "mr600" ] && break
+                       [ "$board" = "mr600v2" ] && break
                        echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
                        return 1
                        ;;
index a39c970c51e8ee3e5b341ef57bc622ff09ef3d3a..c16d184e7388ecee29f1d80ad75bd09c36e5f384 100755 (executable)
@@ -145,6 +145,7 @@ platform_check_image() {
                ;;
 
        mr600 | \
+       mr600v2 | \
        om2p | \
        om2p-hs | \
        om2p-lc)
@@ -284,6 +285,7 @@ platform_do_upgrade() {
                platform_do_upgrade_dir825b "$ARGV"
                ;;
        mr600 | \
+       mr600v2 | \
        om2p | \
        om2p-hs | \
        om2p-lc)