1PART_NAME=linux
2platform_check_image() {
3	[ "$#" -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()
16