2010-05-02 19:30:59 +00:00
|
|
|
PART_NAME=firmware
|
2008-12-24 22:16:04 +00:00
|
|
|
|
|
|
|
platform_check_image() {
|
2010-05-02 19:30:59 +00:00
|
|
|
[ "$(get_magic_word $(find_mtd_part firmware))" -eq "$(get_magic_word "$1")" ] && return 0
|
2008-12-24 22:16:04 +00:00
|
|
|
|
2010-05-02 19:30:59 +00:00
|
|
|
echo "Invalid image type. Please use an appropriate .bin file"
|
|
|
|
return 1
|
2008-12-24 22:16:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# use default for platform_do_upgrade()
|