ramips: add support for the VoCore2 Lite
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index e0a260216d510e7954f2b4e4afe9af374d7d4443..8977381c86d00d3e10394c43f3fe7b9474191e76 100755 (executable)
@@ -27,7 +27,6 @@ platform_check_image() {
        awapn2403|\
        awm002-evb-4M|\
        awm002-evb-8M|\
-       awm003-evb|\
        bc2|\
        broadway|\
        carambola|\
@@ -59,6 +58,7 @@ platform_check_image() {
        firewrt|\
        fonera20n|\
        freestation5|\
+       gb-pc1|\
        gl-mt300a|\
        gl-mt300n|\
        gl-mt750|\
@@ -74,6 +74,7 @@ platform_check_image() {
        jhr-n805r|\
        jhr-n825r|\
        jhr-n926r|\
+       k2p|\
        kn|\
        kn_rc|\
        kn_rf|\
@@ -148,6 +149,7 @@ platform_check_image() {
        vocore-8M|\
        vocore-16M|\
        vocore2|\
+       vocore2lite|\
        vr500|\
        w150m|\
        w2914nsv2|\
@@ -168,6 +170,7 @@ platform_check_image() {
        wl-wn575a3|\
        wli-tx4-ag300n|\
        wlr-6000|\
+       wmdr-143n|\
        wmr-300|\
        wn3000rpv3|\
        wnce2001|\
@@ -252,6 +255,13 @@ platform_check_image() {
                # these boards use metadata images
                return 0
                ;;
+       re350-v1)
+               [ "$magic" != "01000000" ] && {
+                       echo "Invalid image type."
+                       return 1
+               }
+               return 0
+               ;;
        ubnt-erx|\
        ubnt-erx-sfp)
                nand_do_platform_check "$board" "$1"