aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/avr32/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-24 10:06:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-24 10:06:14 +0000
commitf9be8880e7d07f311c9f7cee2e291ef21bfc6ceb (patch)
tree0b772f37d00e7a90a40a9b02c9cca462416c9079 /target/linux/avr32/base-files/lib/upgrade/platform.sh
parente1925a880ec9cb64f77e7e682848967c145fd15a (diff)
downloadmaster-187ad058-f9be8880e7d07f311c9f7cee2e291ef21bfc6ceb.tar.gz
master-187ad058-f9be8880e7d07f311c9f7cee2e291ef21bfc6ceb.tar.bz2
master-187ad058-f9be8880e7d07f311c9f7cee2e291ef21bfc6ceb.zip
avr32: remove target
It depends on obsolete compilers and only works on one device (an evaluation board). Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44956 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/avr32/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/avr32/base-files/lib/upgrade/platform.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/target/linux/avr32/base-files/lib/upgrade/platform.sh b/target/linux/avr32/base-files/lib/upgrade/platform.sh
deleted file mode 100755
index 403a851c09..0000000000
--- a/target/linux/avr32/base-files/lib/upgrade/platform.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Copyright (C) 2013 OpenWrt.org
-#
-
-PART_NAME=firmware
-
-platform_check_image() {
- local magic="$(get_magic_long "$1")"
-
- [ "$#" -gt 1 ] && return 1
-
- [ "$magic" != "27051956" ] && {
- echo "Invalid image type."
- return 1
- }
-
- return 0
-}
-
-disable_watchdog() {
- killall watchdog
- ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && {
- echo 'Could not disable watchdog'
- return 1
- }
-}
-
-append sysupgrade_pre_upgrade disable_watchdog