AA: ar71xx: OM2P-HS sysupgrade support
authorGabor Juhos <juhosg@openwrt.org>
Wed, 17 Oct 2012 15:27:01 +0000 (15:27 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 17 Oct 2012 15:27:01 +0000 (15:27 +0000)
Backport of r33803.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33811

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

index 2a5c7c3ee61a9609a168615a73f7c6f04206ec5d..066bfd4149615568f0b3084caf8bb7d3231b33f5 100755 (executable)
@@ -135,6 +135,7 @@ platform_check_image() {
                ;;
 
        om2p | \
+       om2p-hs | \
        om2p-lc)
                platform_check_image_om2p "$magic_long" "$1" && return 0
                return 1
@@ -251,6 +252,7 @@ platform_do_upgrade() {
                platform_do_upgrade_dir825b "$ARGV"
                ;;
        om2p | \
+       om2p-hs | \
        om2p-lc)
                platform_do_upgrade_om2p "$ARGV"
                ;;