You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
329 B
Bash
27 lines
329 B
Bash
5 years ago
|
platform_do_upgrade() {
|
||
|
local board=$(board_name)
|
||
|
|
||
|
case "$board" in
|
||
|
*)
|
||
|
default_do_upgrade "$1"
|
||
|
;;
|
||
|
esac
|
||
|
}
|
||
|
|
||
|
PART_NAME=firmware
|
||
|
|
||
|
platform_check_image() {
|
||
|
local board=$(board_name)
|
||
|
|
||
|
[ "$#" -gt 1 ] && return 1
|
||
|
|
||
|
case "$board" in
|
||
|
*)
|
||
|
echo "Sysupgrade is not supported on your board yet."
|
||
|
return 1
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
return 0
|
||
|
}
|