
13 Jun
2024
13 Jun
'24
5:20 p.m.
On Thu, 13 Jun 2024 at 04:13, Mattijs Korpershoek mkorpershoek@baylibre.com wrote:
The only way to configure the load addresses for both bootimg and vendor_bootimg is by using the "abootimg" command. If we want to use the C API, there is no equivalent.
Add set_abootimg_addr() and set_avendor_bootimg_addr() so that we can specify the load address from C.
This can be useful for implementing an Android bootmethod.
Reviewed-by: Igor Opaniuk igor.opaniuk@gmail.com Signed-off-by: Mattijs Korpershoek mkorpershoek@baylibre.com
cmd/abootimg.c | 10 ++++++++++ include/image.h | 14 ++++++++++++++ 2 files changed, 24 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org