]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootm: Simplify Android ramdisk addr in bootm_find_images()
authorSimon Glass <sjg@chromium.org>
Sat, 18 Nov 2023 21:05:13 +0000 (14:05 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
commit46aee252aff82e05f9d8adfd8565c453ed013bff
tree767d533d97b63b6288a299fb52099e7f88edb344
parent96456285c28138999c095dd64a259bdc6c98ec8b
bootm: Simplify Android ramdisk addr in bootm_find_images()

The Android mechanism uses the loadaddr envrionment-variable to get the
load address, if none is provided. This is equivalent to
image_load_addr so use that instead, converting it to a string as
needed.

This change will permit passing img_addr to this function, in a future
change.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
boot/bootm.c