[PATCH v3 40/95] cmd: Add SPL Kconfigs for CMDLINE and HUSH
Simon Glass
sjg at chromium.org
Mon Feb 13 00:15:43 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>
---
Changes in v3:
- Rework commit submit
- Use a consistent format for the comment
cmd/Kconfig | 6 ++++++
1 file changed, 6 insertions(+)
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
--
2.39.1.581.gbfd45094c4-goog
More information about the U-Boot
mailing list