ar71xx: add eap7660d board to diag.sh and sysupgrade
[openwrt/staging/chunkeey.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
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"
                ;;
        *)