From: Nora Schiffer Date: Mon, 22 Jun 2026 11:19:33 +0000 (+0200) Subject: bootm: allow omitting entry point for IH_TYPE_KERNEL_NOLOAD X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=c63051237f2bc79838a27473709948408acdf38b;p=thirdparty%2Fu-boot.git bootm: allow omitting entry point for IH_TYPE_KERNEL_NOLOAD For IH_TYPE_KERNEL_NOLOAD, the entry point is given relative to the image start, making 0 a valid default, and for IH_OS_EFI, it is ignored altogether, so it may be preferable to omit it. Signed-off-by: Nora Schiffer Reviewed-by: Simon Glass --- diff --git a/boot/bootm.c b/boot/bootm.c index b1cc6fe6c5c..1aeabdd5db1 100644 --- a/boot/bootm.c +++ b/boot/bootm.c @@ -429,7 +429,7 @@ 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) { + if (ret && images.os.type != IH_TYPE_KERNEL_NOLOAD) { puts("Can't get entry point property!\n"); return 1; }