summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@open-mesh.com>2016-05-20 17:53:14 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-23 12:19:25 +0200
commit58dc285cd6c9ebf415e091be12e01ecbd05119dc (patch)
tree3bca01383b04f7d89b8f0f9e7b3fc712017b85ac /target/linux/ar71xx/base-files/lib
parentf7719dca713b8d8f66a9877bde2b72c50b9cdd21 (diff)
downloadmaster-31e0f0ae-58dc285cd6c9ebf415e091be12e01ecbd05119dc.tar.gz
master-31e0f0ae-58dc285cd6c9ebf415e091be12e01ecbd05119dc.tar.bz2
master-31e0f0ae-58dc285cd6c9ebf415e091be12e01ecbd05119dc.zip
ar71xx: add user-space support for the OpenMesh MR1750v2
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
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 5b5c805540..4318818cd2 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -595,6 +595,9 @@ ar71xx_board_detect() {
*MR1750)
name="mr1750"
;;
+ *MR1750v2)
+ name="mr1750v2"
+ ;;
*MR600)
name="mr600"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
index 270ef400b9..87b65165b4 100644
--- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
@@ -65,6 +65,7 @@ platform_check_image_target_openmesh()
;;
MR1750)
[ "$board" = "mr1750" ] && return 0
+ [ "$board" = "mr1750v2" ] && return 0
echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
return 1
;;