aboutsummaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorMaxim Moskalets2024-03-08 00:29:14 +0300
committerTom Rini2024-03-13 18:47:11 -0400
commit6d1734f0056720c51a3907ece934a5fbb0fbb0cb (patch)
treed2462c50e9d85a875bc778ecab37fb374046a334 /cmd/Kconfig
parentf56d9a385cbf76d0ef7723faf65ec183c629a7ff (diff)
cmd: add FDT setup for bootelf by flag
Added the ability to use FDT for ELF applications, required to run some OS. To make FDT setup, you need to set the -d fdt_addr_r cmd option for bootelf command. Enable by selecting CMD_ELF_FDT_SETUP. Signed-off-by: Maxim Moskalets <Maxim.Moskalets@kaspersky.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index bd5464a4989..61e280fb1a4 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -490,6 +490,17 @@ config CMD_ELF
help
Boot an ELF/vxWorks image from the memory.
+config CMD_ELF_FDT_SETUP
+ bool "Flattened Device Tree setup in bootelf cmd"
+ default n
+ depends on CMD_ELF
+ select LIB_LIBFDT
+ select LMB
+ help
+ Do FDT setup in bootelf command optionally by param -d, which
+ allows to bring additional system info (e.g. /memory node) to
+ the Operating System or application.
+
config CMD_FDT
bool "Flattened Device Tree utility commands"
default y