1 platform_check_image
() {
2 [ "$ARGC" -gt 1 ] && return 1
4 case "$(get_magic_word "$1")" in
10 echo "Invalid image type"
16 platform_do_upgrade
() {
17 get_image
"$1" > $
(find_mtd_part
"linux")
22 [ "$SAVE_CONFIG" -eq 1 ] && return 0
24 append sysupgrade_pre_upgrade brcm_prepare_mtd