diff options
author | Safae Ouajih <souajih@baylibre.com> | 2023-02-06 00:50:11 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-04 14:50:47 -0400 |
commit | e058176be32b09ca4f787442fd99d29e44079519 (patch) | |
tree | 54acfa56aff54114bdea2da1d56967dd3750a39f /boot/image-board.c | |
parent | 447240e27b892ab2ccc1ada03a260abbb562484e (diff) |
android: boot: add vendor boot image to prepare for v3, v4 support
Introduce vendor boot image for version 3 and 4 of boot image header.
The vendor boot image will hold extra information about kernel, dtb
and ramdisk.
This is done to prepare for boot image version 3 and 4 support.
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>
Diffstat (limited to 'boot/image-board.c')
-rw-r--r-- | boot/image-board.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/boot/image-board.c b/boot/image-board.c index e086103258..2d73c76a4a 100644 --- a/boot/image-board.c +++ b/boot/image-board.c @@ -428,8 +428,7 @@ static int select_ramdisk(struct bootm_headers *images, const char *select, u8 a if (IS_ENABLED(CONFIG_ANDROID_BOOT_IMAGE)) { void *ptr = map_sysmem(images->os.start, 0); int ret; - - ret = android_image_get_ramdisk(ptr, rd_datap, rd_lenp); + ret = android_image_get_ramdisk(ptr, NULL, rd_datap, rd_lenp); unmap_sysmem(ptr); if (ret) return ret; |