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

Simon Glass sjg at chromium.org
Mon Jul 5 17:29:52 CEST 2021


Hi Sean,

On Thu, 1 Jul 2021 at 00:16, Sean Anderson <seanga2 at 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 at 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


More information about the U-Boot mailing list