[RFC PATCH v1 12/21] cli: hush_2021: Enable variables expansion for hush 2021.
Simon Glass
sjg at chromium.org
Wed Jan 12 21:03:32 CET 2022
On Fri, 31 Dec 2021 at 09:14, Francis Laniel
<francis.laniel at amarulasolutions.com> wrote:
>
> The following commit enables variables expansion for hush 2021, both for local
> and environment variables.
> So the following commands:
> foo=bar
> echo $foo
> setenv bar foo
> echo $bar
> leads to "bar" and "foo" being printed on console output.
>
> Signed-off-by: Francis Laniel <francis.laniel at amarulasolutions.com>
> ---
> common/cli_hush_2021.c | 17 ++++++++
> common/cli_hush_2021_upstream.c | 74 ++++++++++++++++++++++++++++++---
> 2 files changed, 86 insertions(+), 5 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list