openwrtv4/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
Jonas Gorski 89815d4645 ipq806x: build images and add sysupgrade support for AP148
Add full ubi and sysupgrade images for AP148 and add sysupgrade support
for ipq806x to allow updating the current installation.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46789
2015-09-04 14:45:00 +00:00

18 lines
244 B
Bash

. /lib/ipq806x.sh
PART_NAME=firmware
platform_check_image() {
local board=$(ipq806x_board_name)
case "$board" in
AP148)
nand_do_platform_check $board $1
return $?;
;;
*)
return 1;
esac
}
# use default for platform_do_upgrade()