aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMaxim Moskalets <maximmosk4@gmail.com>2024-06-21 14:42:10 +0300
committerTom Rini <trini@konsulko.com>2024-07-05 13:57:02 -0600
commit2abf14df5dd3944ab22352b397c63516bcf312c3 (patch)
tree612aeafd93a130757d8f41ea86dc3020fc2ce133 /cmd
parent6074f6e85783f582e8524778fff170ff05b35a91 (diff)
downloadu-boot-2abf14df5dd3944ab22352b397c63516bcf312c3.zip
u-boot-2abf14df5dd3944ab22352b397c63516bcf312c3.tar.gz
u-boot-2abf14df5dd3944ab22352b397c63516bcf312c3.tar.bz2
cmd: bootm: add ELF file support
Some operating systems (e.g. seL4) and embedded applications are ELF images. It is convenient to use FIT-images to implement trusted boot. Added "elf" image type for booting using bootm command. Signed-off-by: Maxim Moskalets <maximmosk4@gmail.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 40ac5a8..68947bf 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -321,6 +321,13 @@ config BOOTM_EFI
help
Support booting UEFI FIT images via the bootm command.
+config BOOTM_ELF
+ bool "Support booting ELF images"
+ depends on CMD_BOOTM && LIB_ELF
+ default n
+ help
+ Support booting ELF images via the bootm command.
+
config CMD_BOOTZ
bool "bootz"
help