[PATCH v3 2/5] boot: android: Add sandbox memory mapping support
Simon Glass
sjg at chromium.org
Wed Nov 19 14:17:44 CET 2025
On Fri, 14 Nov 2025 at 08:28, Guillaume La Roque (TI.com)
<glaroque at baylibre.com> wrote:
>
> Use map_to_sysmem() to convert header pointers to physical addresses
> in parse_hdr functions, and add proper map_sysmem()/unmap_sysmem()
> calls in android_image_get_data() for sandbox compatibility.
>
> Reviewed-by: Mattijs Korpershoek <mkorpershoek at kernel.org>
> Signed-off-by: Guillaume La Roque (TI.com) <glaroque at baylibre.com>
> ---
> boot/image-android.c | 41 ++++++++++++++++++++++++++++-------------
> 1 file changed, 28 insertions(+), 13 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
It is sometimes easier to do this in the caller and have the function
just take a pointer.
More information about the U-Boot
mailing list