diff mbox series

[v3,40/95] cmd: Add SPL Kconfigs for CMDLINE and HUSH

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

Commit Message

Simon Glass Feb. 12, 2023, 11:15 p.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>
---

Changes in v3:
- Rework commit submit
- Use a consistent format for the comment

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

Patch

diff --git a/cmd/Kconfig b/cmd/Kconfig
index c8792af883e..12b4dc7946f 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -23,6 +23,12 @@  config HUSH_PARSER
 	  If disabled, you get the old, much simpler behaviour with a somewhat
 	  smaller memory footprint.
 
+config SPL_CMDLINE
+	def_bool n  # Ensure that the command line is not enabled (SPL)
+
+config SPL_HUSH_PARSER
+	def_bool n  # Eensure that the hush parser is not enabled (SPL)
+
 config CMDLINE_EDITING
 	bool "Enable command line editing"
 	depends on CMDLINE