]> git.dujemihanovic.xyz Git - u-boot.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)
commitf48efa0edb6f65b2c382209871df7c9b61a905e2
tree0bbf28debaa330e45ef5eafadb5fbf8a39e026a2
parentfbb645e7d9bc1a0da05fff8421d398c8aa43a331
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