platform.sh 255 B

12345678910
  1. PART_NAME=firmware
  2. platform_check_image() {
  3. [ "$(get_magic_word $(find_mtd_part firmware))" -eq "$(get_magic_word "$1")" ] && return 0
  4. echo "Invalid image type. Please use an appropriate .bin file"
  5. return 1
  6. }
  7. # use default for platform_do_upgrade()