[PATCH v3 2/5] boot: android: Add sandbox memory mapping support
Guillaume La Roque
glaroque at baylibre.com
Mon Nov 24 11:18:50 CET 2025
Hi,
Le 19/11/2025 à 14:17, Simon Glass a écrit :
> 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.
agree if it's ok for you i can work a global rework of function link to
android boot image parsin to simplify it after this series.
Regards,
Guillaume
More information about the U-Boot
mailing list