Merge branch 'adm8668'
[oweals/openwrt.git] / target / linux / adm8668 / base-files / lib / upgrade / platform.sh
1 PART_NAME=linux
2 platform_check_image() {
3         [ "$ARGC" -gt 1 ] && return 1
4
5         case "$(get_magic_word "$1")" in
6                 # u-boot
7                 2705) return 0;;
8                 *)
9                         echo "Invalid image type. Please use only u-boot files"
10                         return 1
11                 ;;
12         esac
13 }
14
15 # use default for platform_do_upgrade()