]> git.dujemihanovic.xyz Git - u-boot.git/commit
android: boot: content print is not supported for v3, v4 header version
authorSafae Ouajih <souajih@baylibre.com>
Sun, 5 Feb 2023 23:50:09 +0000 (00:50 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 4 Apr 2023 18:50:46 +0000 (14:50 -0400)
commitbb5d692732ca02511f2f491af1e680c87373fd35
tree763371b4f05562a3c51e6821ab25bb60e0b4b91a
parent607b07554e23ff58d245f16765d831253a4210de
android: boot: content print is not supported for v3, v4 header version

Content print is not supported for version 3 and 4 of boot image header.
Thus, only print that content when v2 is used.

Update android_print_contents() to print an error message
when trying to print boot image header version 3 or 4 content.

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