openwrtv4/target/linux/ipq806x/base-files/lib/upgrade/platform.sh

19 lines
244 B
Bash
Raw Normal View History

. /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()