mediatek: mt7622: validate uImage.FIT
Validate the uImage.FIT instead of only checking the image magic. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
29ec74b8c7
commit
7ea0f647b9
1 changed files with 2 additions and 5 deletions
|
@ -69,11 +69,8 @@ platform_check_image() {
|
||||||
return $?
|
return $?
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
[ "$magic" != "d00dfeed" ] && {
|
fit_check_image "$1"
|
||||||
echo "Invalid image type."
|
return $?
|
||||||
return 1
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue