platform_do_upgrade(){localboard=$(board_name)case"$board" in
*)
default_do_upgrade "$1";;esac}PART_NAME=firmware
platform_check_image(){localboard=$(board_name)["$#" -gt 1]&&return1case"$board" in
*)echo"Sysupgrade is not supported on your board yet."return1;;esacreturn0}