[RFC PATCH v7 12/23] cli: Enables using hush 2021 parser as command line parser

Simon Glass sjg at chromium.org
Sat Apr 1 08:32:15 CEST 2023


On Fri, 31 Mar 2023 at 08:49, Francis Laniel
<francis.laniel at amarulasolutions.com> wrote:
>
> If one defines HUSH_2021_PARSER, it is then possible to use 2021 parser with:
> => parser get
> old
> => parser set 2021
> 2021> parser get
> 2021
>
> Signed-off-by: Francis Laniel <francis.laniel at amarulasolutions.com>
> ---
>  cmd/parser.c                      |  7 ++++-
>  common/cli.c                      | 38 +++++++++++++++++++----
>  common/cli_hush_2021.c            |  3 ++
>  common/cli_hush_upstream.c        | 46 +++++++++++++++++++++++++---
>  include/asm-generic/global_data.h |  4 +++
>  include/cli_hush.h                | 51 +++++++++++++++++++++++++++++--
>  6 files changed, 135 insertions(+), 14 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list