ar71xx: enable sysupgrade for the OpenMesh OM2Pv4/-HSv4
authorSven Eckelmann <sven.eckelmann@open-mesh.com>
Thu, 2 Jun 2016 09:29:23 +0000 (11:29 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 15 Feb 2017 08:35:43 +0000 (09:35 +0100)
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 87b65165b4ce251073812553c6a7d6ed09174738..e776f99c1ef90e1ae8a5cd1806d709703e4ba5e9 100644 (file)
@@ -44,10 +44,12 @@ platform_check_image_target_openmesh()
                OM2P)
                        [ "$board" = "om2p" ] && return 0
                        [ "$board" = "om2pv2" ] && return 0
+                       [ "$board" = "om2pv4" ] && return 0
                        [ "$board" = "om2p-lc" ] && return 0
                        [ "$board" = "om2p-hs" ] && return 0
                        [ "$board" = "om2p-hsv2" ] && return 0
                        [ "$board" = "om2p-hsv3" ] && return 0
+                       [ "$board" = "om2p-hsv4" ] && return 0
                        echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
                        return 1
                        ;;
index b1fb60cbaa5081561667526728d938b3a647c407..173836bb1d51eacd7ba2743fe313ead163301742 100755 (executable)
@@ -500,9 +500,11 @@ platform_check_image() {
        mr900|\
        om2p-hsv2|\
        om2p-hsv3|\
+       om2p-hsv4|\
        om2p-hs|\
        om2p-lc|\
        om2pv2|\
+       om2pv4|\
        om2p|\
        om5p-acv2|\
        om5p-ac|\
@@ -677,9 +679,11 @@ platform_do_upgrade() {
        mr900|\
        om2p-hsv2|\
        om2p-hsv3|\
+       om2p-hsv4|\
        om2p-hs|\
        om2p-lc|\
        om2pv2|\
+       om2pv4|\
        om2p|\
        om5p-acv2|\
        om5p-ac|\