ar71xx: enable sysupgrade for the OpenMesh OM2Pv4/-HSv4

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
This commit is contained in:
Sven Eckelmann 2016-06-02 11:29:23 +02:00 committed by John Crispin
parent bdfe4c1218
commit baaf0acded
2 changed files with 6 additions and 0 deletions

View file

@ -44,10 +44,12 @@ platform_check_image_target_openmesh()
OM2P) OM2P)
[ "$board" = "om2p" ] && return 0 [ "$board" = "om2p" ] && return 0
[ "$board" = "om2pv2" ] && return 0 [ "$board" = "om2pv2" ] && return 0
[ "$board" = "om2pv4" ] && return 0
[ "$board" = "om2p-lc" ] && return 0 [ "$board" = "om2p-lc" ] && return 0
[ "$board" = "om2p-hs" ] && return 0 [ "$board" = "om2p-hs" ] && return 0
[ "$board" = "om2p-hsv2" ] && return 0 [ "$board" = "om2p-hsv2" ] && return 0
[ "$board" = "om2p-hsv3" ] && 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" echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
return 1 return 1
;; ;;

View file

@ -506,9 +506,11 @@ platform_check_image() {
mr900|\ mr900|\
om2p-hsv2|\ om2p-hsv2|\
om2p-hsv3|\ om2p-hsv3|\
om2p-hsv4|\
om2p-hs|\ om2p-hs|\
om2p-lc|\ om2p-lc|\
om2pv2|\ om2pv2|\
om2pv4|\
om2p|\ om2p|\
om5p-acv2|\ om5p-acv2|\
om5p-ac|\ om5p-ac|\
@ -683,9 +685,11 @@ platform_do_upgrade() {
mr900|\ mr900|\
om2p-hsv2|\ om2p-hsv2|\
om2p-hsv3|\ om2p-hsv3|\
om2p-hsv4|\
om2p-hs|\ om2p-hs|\
om2p-lc|\ om2p-lc|\
om2pv2|\ om2pv2|\
om2pv4|\
om2p|\ om2p|\
om5p-acv2|\ om5p-acv2|\
om5p-ac|\ om5p-ac|\