]> git.baikalelectronics.ru Git - uboot.git/commit
android: boot: kcomp: support andr_image_data
authorSafae Ouajih <souajih@baylibre.com>
Sun, 5 Feb 2023 23:50:07 +0000 (00:50 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 4 Apr 2023 18:50:46 +0000 (14:50 -0400)
commit78d15791932181c57376c6e08621b9fa9128a077
tree0bbf28debaa330e45ef5eafadb5fbf8a39e026a2
parente966181c7f451373d64d235cbad20ce55ea25a57
android: boot: kcomp: support andr_image_data

andr_image_data structure is used as a global representation of
boot image header structure. Introduce this new structure to
support all boot header versions : v0,v1.v2.v3.v4 and to support
v3 and v4 while maitaining support for v0,v1,v2.
The need of using andr_image_data comes from the change of header
structure in both version 3 and 4.

Rework android_image_get_kcomp()  to support this new struct.

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
include/android_image.h
include/image.h