ar71xx: add eap7660d board to diag.sh and sysupgrade
authorGabor Juhos <juhosg@openwrt.org>
Sat, 14 Aug 2010 21:07:31 +0000 (21:07 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 14 Aug 2010 21:07:31 +0000 (21:07 +0000)
This patch adds support for the Senao EAP7660D board to diag.sh and sysupgrade.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
SVN-Revision: 22644

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index 1634242075fa8864067b0dcce1f08c14667c7b29..384bf032ca2121b075581397ad2257696a062635 100755 (executable)
@@ -51,6 +51,9 @@ get_status_led() {
        dir-825-b1)
                status_led="dir825b1:orange:power"
                ;;
+       eap7660d)
+               status_led="eap7660d:green:ds4"
+               ;;
        ls-sr71)
                status_led="ubnt:green:d22"
                ;;
index 86b98c337dabb3cc3f616693c279df5740d849e9..bfa5cc69bd7a3ba9aa9afa2ba7e752dafc591870 100755 (executable)
@@ -96,7 +96,7 @@ platform_check_image() {
                }
                return 0
                ;;
-       routerstation | routerstation-pro | ls-sr71 | pb42 | pb44)
+       routerstation | routerstation-pro | ls-sr71 | pb42 | pb44 | eap7660d )
                [ "$magic" != "4349" ] && {
                        echo "Invalid image. Use *-sysupgrade.bin files on this board"
                        return 1
@@ -123,7 +123,7 @@ platform_do_upgrade() {
        local board=$(ar71xx_board_name)
 
        case "$board" in
-       routerstation | routerstation-pro | ls-sr71)
+       routerstation | routerstation-pro | ls-sr71 | eap7660d )
                platform_do_upgrade_combined "$ARGV"
                ;;
        *)