[PATCH v3 20/32] efi: Make commands depend on CMDLINE

Simon Glass sjg at chromium.org
Tue Oct 17 00:28:11 CEST 2023


Most of the EFI functionality requires the command line, so make this
explicit. Future work could adjust this, but it needs effort within
the booting support first, like the bootm command.

Signed-off-by: Simon Glass <sjg at chromium.org>
Suggested-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
---

(no changes since v2)

Changes in v2:
- Adjust the depends on the commands, instead of EFI_LOADER

 cmd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index c6ea5c860e33..46e484fc08b6 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -384,7 +384,7 @@ config SYS_BOOTM_LEN
 
 config CMD_BOOTEFI
 	bool "bootefi"
-	depends on EFI_LOADER
+	depends on EFI_LOADER && CMDLINE
 	default y
 	help
 	  Boot an EFI image from memory.
-- 
2.42.0.655.g421f12c284-goog



More information about the U-Boot mailing list