aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-01-18 09:07:25 -0500
committerTom Rini <trini@konsulko.com>2024-01-18 09:07:25 -0500
commit3c3a73424e6d6f7b86b9347da7c0e78379933319 (patch)
treeb62f97565e1bae997193e8be0284c9122817f2ac /cmd
parent5b3cd0f31d6ce5fda358a64beca0d7f093d5553b (diff)
Revert "cmd: Set modern hush as default shell"
Currently at least two SoC families are able to cause a crash using their regular boot scripts, with the new parser. For now, revert to the old parser as default. This reverts commit 78912cfde281146d28254b230ecaa9b06722e6ff. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 62d2ae3d3f..46600e5007 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -27,17 +27,21 @@ depends on HUSH_PARSER
config HUSH_OLD_PARSER
bool "Use hush old parser"
+ default y
help
This option enables the old flavor of hush based on hush Busybox from
2005.
+ It is actually the default U-Boot shell when decided to use hush as shell.
+
config HUSH_MODERN_PARSER
bool "Use hush modern parser"
- default y
help
This option enables the new flavor of hush based on hush upstream
Busybox.
+ This parser is experimental and not well tested.
+
config HUSH_SELECTABLE
bool
default y if HUSH_OLD_PARSER && HUSH_MODERN_PARSER