platform.sh 264 B

123456789101112131415
  1. PART_NAME=linux
  2. platform_check_image() {
  3. [ "$#" -gt 1 ] && return 1
  4. case "$(get_magic_word "$1")" in
  5. # u-boot
  6. 2705) return 0;;
  7. *)
  8. echo "Invalid image type. Please use only u-boot files"
  9. return 1
  10. ;;
  11. esac
  12. }
  13. # use default for platform_do_upgrade()