From: Tom Rini Date: Thu, 18 Jan 2024 14:07:25 +0000 (-0500) Subject: Revert "cmd: Set modern hush as default shell" X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=3c3a73424e6d6f7b86b9347da7c0e78379933319;p=u-boot.git 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 --- 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