summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rw-r--r--target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 02c46f9b94..fa114139a5 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -358,6 +358,9 @@ ar71xx_board_detect() {
*OM2P)
name="om2p"
;;
+ *OM2Pv2)
+ name="om2pv2"
+ ;;
*"OM2P HS")
name="om2p-hs"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
index fb8ef191f7..9eac5ef27d 100644
--- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
@@ -59,6 +59,7 @@ platform_check_image_openmesh()
case "$img_board_target" in
OM2P)
[ "$board" = "om2p" ] && break
+ [ "$board" = "om2pv2" ] && break
[ "$board" = "om2p-lc" ] && break
[ "$board" = "om2p-hs" ] && break
echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"