[RFC PATCH v1 11/21] cli: Enables using hush 2021 parser as command line parser.

Simon Glass sjg at chromium.org
Wed Jan 12 21:03:31 CET 2022


Hi Francis,

On Fri, 31 Dec 2021 at 09:14, Francis Laniel
<francis.laniel at amarulasolutions.com> wrote:
>
> If one defines HUSH_2021_PARSER, cli_loop() will jump on hush 2021 parser code.
>
> Signed-off-by: Francis Laniel <francis.laniel at amarulasolutions.com>
> ---
>  common/cli.c       | 14 +++++++++++---
>  include/cli_hush.h |  8 ++++++++
>  2 files changed, 19 insertions(+), 3 deletions(-)

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

Can you avoid using the preprocessor here?

Could be cleaned up later.

Regards,
Simon


More information about the U-Boot mailing list