From 90719132c9e1eb5757aa605b84c2b400c141e63f Mon Sep 17 00:00:00 2001
From: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri, 1 Feb 2013 15:50:47 +0000
Subject: ar71xx: add sysupgrade support for OpenMesh MR600v2

Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35430 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh | 1 +
 target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 ++
 2 files changed, 3 insertions(+)

(limited to 'target/linux')

diff --git a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
index ccce81174..2575b0a7f 100644
--- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
@@ -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
 			;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index a39c970c5..c16d184e7 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -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)
-- 
cgit v1.2.3