cns3xxx: drop target
[openwrt/openwrt.git] / target / linux / cns3xxx / base-files / lib / upgrade / platform.sh
diff --git a/target/linux/cns3xxx/base-files/lib/upgrade/platform.sh b/target/linux/cns3xxx/base-files/lib/upgrade/platform.sh
deleted file mode 100644 (file)
index 58dd6d7..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-PART_NAME=firmware
-
-CI_BLKSZ=65536
-
-platform_check_image() {
-       local magic="$(get_magic_long "$1")"
-
-       [ "$#" -gt 1 ] && return 1
-
-       [ "$magic" != "27051956" ] && {
-               echo "Invalid image type."
-               return 1
-       }
-       return 0
-}
-
-platform_do_upgrade() {
-       default_do_upgrade "$1"
-}