Re: [RFC PATCH 13/28] cli: lil: Wire up LIL to the rest of U-Boot

Simon Glass
2021-07-05T15:30:50Z

Hi Sean,

On Thu, 1 Jul 2021 at 00:16, Sean Anderson <seanga2@gmail.com> wrote:
>
> This sets the shell to LIL when CONFIG_LIL is enabled. Repeated commands
> are not supporteed. Neither are partial commands a la Hush's secondary
> prompt. Setting and getting environmental variables is done through
> callbacks to assist with testing.
>
> Signed-off-by: Sean Anderson <seanga2@gmail.com>
> ---
>
> cmd/Kconfig | 12 +++++--
> common/cli.c | 84 +++++++++++++++++++++++++++++++++++++++---------
> common/cli_lil.c | 32 ++++++++++++++++++
> 3 files changed, 111 insertions(+), 17 deletions(-)

Can you try using if() instead of #ifdef in here?

Regards,
Simon