ar71xx: add user-space support for OpenMesh OM2Pv2

Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 40956
This commit is contained in:
John Crispin 2014-06-02 13:21:02 +00:00
parent ef5f37a08d
commit c788102ebc
4 changed files with 6 additions and 0 deletions

View File

@ -98,6 +98,7 @@ get_status_led() {
status_led="nbg6716:white:power"
;;
om2p | \
om2pv2 | \
om2p-hs | \
om2p-lc)
status_led="om2p:blue:power"

View File

@ -151,6 +151,7 @@ nbg6716)
;;
om2p | \
om2pv2 | \
om2p-hs | \
om2p-lc)
ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0"

View File

@ -358,6 +358,9 @@ ar71xx_board_detect() {
*OM2P)
name="om2p"
;;
*OM2Pv2)
name="om2pv2"
;;
*"OM2P HS")
name="om2p-hs"
;;

View File

@ -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"