diff options
author | 牛 志宏 <Zone.Niuzh@hotmail.com> | 2025-04-01 07:44:34 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-04-10 20:55:53 -0600 |
commit | 157119d69a8f5ce2f93d85eefd2d53d85d6806b4 (patch) | |
tree | 9ade7ae5bcc9d0b42029ad07a1c759140f130d40 | |
parent | 9c79c8fe70da7cd05fa4c242197f14122f245d81 (diff) |
bootm: Support load images when os is elf
This extends the bootm command to allow find images when os type is elf.
Signed-off-by: Niu Zhihong <zone.niuzh@hotmail.com>
-rw-r--r-- | boot/bootm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/boot/bootm.c b/boot/bootm.c index 854ac7ec738..f5cbb10f0d1 100644 --- a/boot/bootm.c +++ b/boot/bootm.c @@ -545,7 +545,8 @@ static int bootm_find_other(ulong img_addr, const char *conf_ramdisk, images.os.type == IH_TYPE_KERNEL_NOLOAD || images.os.type == IH_TYPE_MULTI) && (images.os.os == IH_OS_LINUX || images.os.os == IH_OS_VXWORKS || - images.os.os == IH_OS_EFI || images.os.os == IH_OS_TEE)) { + images.os.os == IH_OS_EFI || images.os.os == IH_OS_TEE || + images.os.os == IH_OS_ELF)) { return bootm_find_images(img_addr, conf_ramdisk, conf_fdt, 0, 0); } |