From 080bb8480a4e915b1ef52418a9b7a227c75a22ee Mon Sep 17 00:00:00 2001 From: Daniel Palmer Date: Sun, 29 Sep 2024 18:27:39 +0900 Subject: cmd: Make bootvx independent of bootelf There are lots of usecases for running baremetal ELF binaries via bootelf but if you enable bootelf you get bootvx as well and you probably don't want or need it. Hide bootvx behind it's own configuration option. Signed-off-by: Daniel Palmer --- cmd/Kconfig | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'cmd/Kconfig') diff --git a/cmd/Kconfig b/cmd/Kconfig index d50f6396fc7..dd33266cec7 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -498,11 +498,18 @@ config CMD_CEDIT loading and saving of configuration as well as showing an editor. config CMD_ELF - bool "bootelf, bootvx" + bool "bootelf" default y select LIB_ELF help - Boot an ELF/vxWorks image from the memory. + Boot an ELF image from memory. + +config CMD_ELF_BOOTVX + bool "bootvx" + default y + depends on CMD_ELF + help + Boot a vxWorks image from memory config CMD_ELF_FDT_SETUP bool "Flattened Device Tree setup in bootelf cmd" -- cgit v1.3.1