[PATCH 1/9] cmd: bdinfo: Optionally use getopt and implement bdinfo -a

Simon Glass sjg at chromium.org
Fri Sep 22 20:27:28 CEST 2023


On Wed, 20 Sept 2023 at 16:58, Marek Vasut
<marek.vasut+renesas at mailbox.org> wrote:
>
> Add optional support for getopt() and in case this is enabled via
> GETOPT configuration option, implement support for 'bdinfo -a'.
> The 'bdinfo -a' behaves exactly like bdinfo and prints 'all' the
> bdinfo information. This is implemented in preparation for other
> more fine-grained options.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> ---
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Mario Six <mario.six at gdsys.cc>
> Cc: Nikhil M Jain <n-jain1 at ti.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>  cmd/bdinfo.c | 29 +++++++++++++++++++++++++----
>  1 file changed, 25 insertions(+), 4 deletions(-)

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


More information about the U-Boot mailing list