aboutsummaryrefslogtreecommitdiff
path: root/common/bootm.c
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2024-05-14 21:18:00 +0200
committerHimbeer <himbeer@disroot.org>2024-05-14 21:18:00 +0200
commit0c023db4c0ca74664d384d01bf579bdffd84877a (patch)
tree7553986c7b3c2cdb67389b1b657ffc14f3bf3251 /common/bootm.c
parent7f52b689eb8aa964b929c708d366e80da249aa3f (diff)
bootm: Support loading legacy (multi) ELF images
Diffstat (limited to 'common/bootm.c')
-rw-r--r--common/bootm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/bootm.c b/common/bootm.c
index 902c1388..22f842cf 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -290,7 +290,8 @@ static int bootm_find_other(cmd_tbl_t *cmdtp, int flag, int argc,
(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_VXWORKS ||
+ images.os.os == IH_OS_ELF))
return bootm_find_images(flag, argc, argv);
return 0;