From 3c3a73424e6d6f7b86b9347da7c0e78379933319 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 18 Jan 2024 09:07:25 -0500 Subject: [PATCH] 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 --- cmd/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5