]> git.dujemihanovic.xyz Git - u-boot.git/commit
android: boot: replace android_image_check_header
authorSafae Ouajih <souajih@baylibre.com>
Sun, 5 Feb 2023 23:50:05 +0000 (00:50 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 4 Apr 2023 18:50:46 +0000 (14:50 -0400)
commit734cb47d6de16d2e3b52a03bce5daab40e5bb29d
treebaf5f2c2ab4f229508056d550bc2e10336e581fc
parent86b62947eb237daddc7014a6b3b5545d1848b02c
android: boot: replace android_image_check_header

With the new vendor boot image introduced in versions 3 and 4
of boot image header, the header check must be done for both boot
image and vendor boot image. Thus, replace android_image_check_header()
by is_android_boot_image_header() to only refer to boot image header check.

Signed-off-by: Safae Ouajih <souajih@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
boot/image-android.c
boot/image-board.c
cmd/abootimg.c
drivers/fastboot/fb_mmc.c
include/image.h