[WIP] add basic support cpe210v2
[openwrt/staging/lynxis.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index adb920c393526b5382430c77763bfcb93e7d595a..36ee082e5e67dd32a8412713811cce673e477e18 100755 (executable)
@@ -549,6 +549,12 @@ platform_check_image() {
                tplink_pharos_check_image "$1" "7f454c46" && return 0
                return 1
                ;;
+       cpe210v2|\
+       cpe510v2)
+               # magic = mktplinkfw v1 header
+               tplink_pharos_check_image "$1" "01000000" && return 0
+               return 1
+               ;;
        a40|\
        a60|\
        mr1750v2|\