ramips: add support for Sanlinking D240
[openwrt/staging/stintel.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index ce2c2221f22d7893a869f6081ad1863193601891..acdfdaf84e154145e15933e8cdc0fab0bc3317ff 100755 (executable)
@@ -35,6 +35,7 @@ platform_check_image() {
        cf-wr800n|\
        cs-qr10|\
        d105|\
+       d240|\
        dap-1350|\
        db-wrt01|\
        dcs-930|\
@@ -102,6 +103,8 @@ platform_check_image() {
        newifi-d1|\
        nixcore|\
        nw718|\
+       omega2|\
+       omega2p|\
        oy-0001|\
        pbr-d1|\
        pbr-m1|\
@@ -155,6 +158,7 @@ platform_check_image() {
        wli-tx4-ag300n|\
        wlr-6000|\
        wmr-300|\
+       wn3000rpv3|\
        wnce2001|\
        wndr3700v5|\
        wr512-3gn|\
@@ -223,6 +227,11 @@ platform_check_image() {
                }
                return 0
                ;;
+       ubnt-erx)
+               nand_do_platform_check "$board" "$1"
+               return $?;
+               ;;
+       wcr-1166ds|\
        wsr-1166)
                [ "$magic" != "48445230" ] && {
                        echo "Invalid image type."
@@ -230,10 +239,6 @@ platform_check_image() {
                }
                return 0
                ;;
-       ubnt-erx)
-               nand_do_platform_check "$board" "$1"
-               return $?;
-               ;;
        esac
 
        echo "Sysupgrade is not yet supported on $board."