aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/upgrade
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-02 13:21:07 +0000
committerJohn Crispin <john@openwrt.org>2014-06-02 13:21:07 +0000
commit71e3d89020fb654082baebe4ba6a35873c6376cc (patch)
treee04e1979af5b98fcb62aca27b54834d01ff5a4ff /target/linux/ar71xx/base-files/lib/upgrade
parentc788102ebc0b8bf9590011fe5de291fb876c2974 (diff)
downloadupstream-71e3d89020fb654082baebe4ba6a35873c6376cc.tar.gz
upstream-71e3d89020fb654082baebe4ba6a35873c6376cc.tar.bz2
upstream-71e3d89020fb654082baebe4ba6a35873c6376cc.zip
ar71xx: add sysupgrade support for OpenMesh OM2Pv2
Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 40957
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/upgrade')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index dfec1336fc..c7583bae6e 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -213,6 +213,7 @@ platform_check_image() {
mr600 | \
mr600v2 | \
om2p | \
+ om2pv2 | \
om2p-hs | \
om2p-lc)
platform_check_image_openmesh "$magic_long" "$1" && return 0
@@ -370,6 +371,7 @@ platform_do_upgrade() {
mr600 | \
mr600v2 | \
om2p | \
+ om2pv2 | \
om2p-hs | \
om2p-lc)
platform_do_upgrade_openmesh "$ARGV"