ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3
authorSven Eckelmann <sven.eckelmann@open-mesh.com>
Fri, 20 May 2016 15:53:09 +0000 (17:53 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 23 May 2016 10:19:24 +0000 (12:19 +0200)
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index bc362a7..270ef40 100644 (file)
@@ -47,6 +47,7 @@ platform_check_image_target_openmesh()
                        [ "$board" = "om2p-lc" ] && return 0
                        [ "$board" = "om2p-hs" ] && return 0
                        [ "$board" = "om2p-hsv2" ] && return 0
+                       [ "$board" = "om2p-hsv3" ] && return 0
                        echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
                        return 1
                        ;;
index 0d6aa6b..ec1cdbd 100755 (executable)
@@ -322,6 +322,7 @@ platform_check_image() {
        om2pv2 | \
        om2p-hs | \
        om2p-hsv2 | \
+       om2p-hsv3 | \
        om2p-lc | \
        om5p | \
        om5p-an | \
@@ -581,6 +582,7 @@ platform_do_upgrade() {
        om2pv2 | \
        om2p-hs | \
        om2p-hsv2 | \
+       om2p-hsv3 | \
        om2p-lc | \
        om5p | \
        om5p-an | \