]> git.baikalelectronics.ru Git - uboot.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)
commit70d2eb243032941cc99b3acd9ce0aa4d0c5f4dd3
tree763371b4f05562a3c51e6821ab25bb60e0b4b91a
parent7a5f61a1351f12312ae20dd84b988ec6680f083a
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