[PATCH v3 27/81] cmd: Add an SPL Kconfig for CMDLINE and HUSH

Simon Glass sjg at chromium.org
Mon Feb 6 20:04:55 CET 2023


At present we rely on this not existing to avoid building various
command-line features.

But with the new split configs this does not work. Add separates Kconfigs
instead.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 cmd/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 82321bd3293..f6a355422fe 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -23,6 +23,16 @@ config HUSH_PARSER
 	  If disabled, you get the old, much simpler behaviour with a somewhat
 	  smaller memory footprint.
 
+config SPL_CMDLINE
+	def_bool n
+	help
+	  Dummy option to ensure that the command line is not enabled in SPL.
+
+config SPL_HUSH_PARSER
+	def_bool n
+	help
+	  Dummy option to ensure that the hush parser is not enabled in SPL.
+
 config CMDLINE_EDITING
 	bool "Enable command line editing"
 	depends on CMDLINE
-- 
2.39.1.519.gcb327c4b5f-goog



More information about the U-Boot mailing list