diff options
author | Rui Miguel Silva <rui.silva@linaro.org> | 2022-05-11 12:55:40 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-22 18:35:47 +0300 |
commit | bfef72e4dd1c1d6dfc680867bf24a78597ab0438 (patch) | |
tree | d403ba89ce489bb4a0e56acd7342ecdff45a95de /configs/sandbox64_defconfig | |
parent | a47ce34403f27178c1264bf60496bbb9a21e5842 (diff) | |
download | u-boot-bfef72e4dd1c1d6dfc680867bf24a78597ab0438.tar.xz |
cmd: load: add load command for memory mapped
cp.b is used a lot as a way to load binaries to memory and execute
them, however we may need to integrate this with the efi subsystem to
set it up as a bootdev.
So, introduce a loadm command that will be consistent with the other
loadX commands and will call the efi API's.
ex: loadm $kernel_addr $kernel_addr_r $kernel_size
with this a kernel with CONFIG_EFI_STUB enabled will be loaded and
then subsequently booted with bootefi command.
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/sandbox64_defconfig')
-rw-r--r-- | configs/sandbox64_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig index 9d72e39bc2..46a9b16ad3 100644 --- a/configs/sandbox64_defconfig +++ b/configs/sandbox64_defconfig @@ -47,6 +47,7 @@ CONFIG_CMD_GPT=y CONFIG_CMD_GPT_RENAME=y CONFIG_CMD_IDE=y CONFIG_CMD_I2C=y +CONFIG_CMD_LOADM=y CONFIG_CMD_OSD=y CONFIG_CMD_PCI=y CONFIG_CMD_READ=y |