summaryrefslogtreecommitdiff
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)
downloadmtk-20170518-71e3d89020fb654082baebe4ba6a35873c6376cc.zip
mtk-20170518-71e3d89020fb654082baebe4ba6a35873c6376cc.tar.gz
mtk-20170518-71e3d89020fb654082baebe4ba6a35873c6376cc.tar.bz2
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 dfec133..c7583ba 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"