summaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/tiny/base-files/lib/upgrade/platform.sh
blob: b02ab9a0805cc1ab4157dec1365cbcd8dc7eb258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# Copyright (C) 2011 OpenWrt.org
#

PART_NAME=firmware
REQUIRE_IMAGE_METADATA=1

platform_check_image() {
	return 0
}

platform_do_upgrade() {
	local board=$(board_name)

	case "$board" in
	*)
		default_do_upgrade "$1"
		;;
	esac
}