diff options
author | Francis Laniel <francis.laniel@amarulasolutions.com> | 2023-12-22 22:02:30 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-28 12:02:56 -0500 |
commit | 603a814a3358eccdb8955bc228f9180173575083 (patch) | |
tree | 77164aa97c1d701c55ea1a0b8f407c536b30d80c /common | |
parent | 30dcef8951d06dfa549336aebeb4ea59fc4783e1 (diff) | |
download | u-boot-603a814a3358eccdb8955bc228f9180173575083.zip u-boot-603a814a3358eccdb8955bc228f9180173575083.tar.gz u-boot-603a814a3358eccdb8955bc228f9180173575083.tar.bz2 |
global_data.h: add GD_FLG_HUSH_OLD_PARSER flag
This flag is used to indicate we are using the hush parser.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Francis Laniel <francis.laniel@amarulasolutions.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/cli.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cli.c b/common/cli.c index 3916a7b..e5fe106 100644 --- a/common/cli.c +++ b/common/cli.c @@ -268,6 +268,8 @@ void cli_loop(void) void cli_init(void) { #ifdef CONFIG_HUSH_PARSER + if (!(gd->flags & GD_FLG_HUSH_OLD_PARSER)) + gd->flags |= GD_FLG_HUSH_OLD_PARSER; u_boot_hush_start(); #endif |