diff mbox series

[RFC,v2,05/56] cmd: Add an SPL Kconfig for CMDLINE and HUSH

Message ID 20230204002619.938387-6-sjg@chromium.org
State RFC
Delegated to: Tom Rini
Headers show
Series Migrate to split config | expand

Commit Message

Simon Glass Feb. 4, 2023, 12:25 a.m. UTC
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@chromium.org>
---

(no changes since v1)

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

Patch

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