summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-05-05 20:03:05 -0600
committerTom Rini <trini@konsulko.com>2023-05-13 09:52:32 -0400
commitab16a3d904e440a6f55aedf7a6c32b9d70168b50 (patch)
tree57ebb6fbf5db3f4236d10c498628bec0b62241ce
parent8c29b73278d66c029b98caecba81831ef6dc472a (diff)
downloadu-boot-ab16a3d904e440a6f55aedf7a6c32b9d70168b50.tar.gz
bootstd: Require HUSH_PARSER for script booting
Armbian uses a script which needs the HUSH parser. It is likely that other distros will do the same. Enable it by default, just in case. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Jonas Karlman <jonas@kwiboo.se>
-rw-r--r--boot/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index 8c27f52ec3..9882812eec 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -638,6 +638,7 @@ config BOOTMETH_SANDBOX
config BOOTMETH_SCRIPT
bool "Bootdev support for U-Boot scripts"
default y if BOOTSTD_FULL
+ select HUSH_PARSER
help
Enables support for booting a distro via a U-Boot script. This makes
the bootdevs look for a 'boot/boot.scr' file which can be used to