[RFC PATCH v7 11/23] cmd: Add new parser command
Simon Glass
sjg at chromium.org
Sat Apr 1 08:32:14 CEST 2023
Hi Francis,
On Fri, 31 Mar 2023 at 08:49, Francis Laniel
<francis.laniel at amarulasolutions.com> wrote:
>
> This command can be used to print the current parser with 'parser print'.
> It can also be used to set the current parser with 'parser set'.
> For the moment, only one value is valid for set: old.
>
> Signed-off-by: Francis Laniel <francis.laniel at amarulasolutions.com>
> ---
> cmd/Makefile | 2 +
> cmd/parser.c | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++
> common/cli.c | 3 +-
> 3 files changed, 124 insertions(+), 1 deletion(-)
> create mode 100644 cmd/parser.c
>
Reviewed-by: Simon Glass <sjg at chromium.org>
But I wonder whether 'cli' might be a better name for this command? We
use cli everywhere else.
Also can you add doc/usage for this?
Regards,
Simon
More information about the U-Boot
mailing list