]> git.baikalelectronics.ru Git - uboot.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)
commitb7d24b264ef8b9031bb3ba8a9741dabf7ccba8ea
treebaf5f2c2ab4f229508056d550bc2e10336e581fc
parentb27d217bc3849545f5336d13d0a5c5600df00544
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