diff options
author | Francis Laniel | 2023-12-22 22:02:30 +0100 |
---|---|---|
committer | Tom Rini | 2023-12-28 12:02:56 -0500 |
commit | 603a814a3358eccdb8955bc228f9180173575083 (patch) | |
tree | 77164aa97c1d701c55ea1a0b8f407c536b30d80c /common | |
parent | 30dcef8951d06dfa549336aebeb4ea59fc4783e1 (diff) |
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 3916a7b10a7..e5fe1060d0b 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 |