
Explicitly adding a load address of zero for u-boot to pick one seems redundant so just make images work without. Signed-off-by: Ludwig Nussel <ludwig.nussel@siemens.com> --- boot/bootm.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/boot/bootm.c b/boot/bootm.c index 4bdca22ea8c..33ff67aa53d 100644 --- a/boot/bootm.c +++ b/boot/bootm.c @@ -364,9 +364,8 @@ static int bootm_find_os(const char *cmd_name, const char *addr_fit) if (fit_image_get_load(images.fit_hdr_os, images.fit_noffset_os, &images.os.load)) { - puts("Can't get image load address!\n"); - bootstage_error(BOOTSTAGE_ID_FIT_LOADADDR); - return 1; + log_debug("Image has no load address, assume zero\n"); + images.os.load = 0; } break; #endif @@ -416,8 +415,8 @@ static int bootm_find_os(const char *cmd_name, const char *addr_fit) ret = fit_image_get_entry(images.fit_hdr_os, images.fit_noffset_os, &images.ep); if (ret) { - puts("Can't get entry point property!\n"); - return 1; + log_debug("Image has no entry point address, assume zero\n"); + images.ep = 0; } #endif } else if (!ep_found) { -- 2.34.1