[PATCH 2/2] cmd: Convert existing long help messages to the new macro

Simon Glass sjg at google.com
Sat Oct 7 22:18:56 CEST 2023


On Sat, 7 Oct 2023 at 13:13, Tom Rini <trini at konsulko.com> wrote:
>
> - Generally we just drop the #ifdef CONFIG_SYS_LONGHELP and endif lines
>   and use U_BOOT_LONGHELP to declare the same variable name as before
> - In a few places, either rename the variable to follow convention or
>   introduce the variable as it was being done inline before.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  arch/arm/mach-imx/cmd_nandbcb.c                      |  6 ++----
>  board/freescale/common/ngpixis.c                     |  6 ++----
>  board/work-microwave/work_92105/work_92105_display.c | 12 ++++--------
>  board/xilinx/common/fru.c                            |  7 ++-----
>  board/xilinx/versal/cmds.c                           |  7 ++-----
>  board/xilinx/zynq/cmds.c                             |  6 ++----
>  board/xilinx/zynqmp/cmds.c                           |  6 ++----
>  cmd/acpi.c                                           |  6 ++----
>  cmd/aes.c                                            |  6 ++----
>  cmd/armffa.c                                         |  4 ++--
>  cmd/axi.c                                            |  4 ++--
>  cmd/bloblist.c                                       |  6 ++----
>  cmd/bootcount.c                                      |  9 ++-------
>  cmd/bootdev.c                                        |  6 ++----
>  cmd/bootefi.c                                        |  6 ++----
>  cmd/bootflow.c                                       |  9 ++++-----
>  cmd/booti.c                                          |  6 ++----
>  cmd/bootm.c                                          |  6 ++----
>  cmd/bootmeth.c                                       |  6 ++----
>  cmd/bootz.c                                          |  6 ++----
>  cmd/cat.c                                            |  6 ++----
>  cmd/cedit.c                                          |  6 ++----
>  cmd/clk.c                                            |  6 ++----
>  cmd/conitrace.c                                      |  4 +---
>  cmd/cpu.c                                            |  7 ++-----
>  cmd/cyclic.c                                         |  4 ++--
>  cmd/dm.c                                             |  7 ++-----
>  cmd/efidebug.c                                       |  6 ++----
>  cmd/event.c                                          |  6 ++----
>  cmd/fdt.c                                            |  6 ++----
>  cmd/font.c                                           |  6 ++----
>  cmd/help.c                                           |  5 ++++-
>  cmd/i2c.c                                            |  6 ++----
>  cmd/kaslrseed.c                                      |  6 ++----
>  cmd/log.c                                            |  7 ++-----
>  cmd/mp.c                                             |  6 ++----
>  cmd/mtd.c                                            |  6 ++----
>  cmd/mtdparts.c                                       |  6 ++----
>  cmd/mux.c                                            |  4 ++--
>  cmd/nand.c                                           |  6 ++----
>  cmd/nvedit.c                                         |  6 ++----
>  cmd/osd.c                                            |  4 ++--
>  cmd/pcap.c                                           |  4 ++--
>  cmd/pci.c                                            |  6 ++----
>  cmd/pci_mps.c                                        |  6 ++----
>  cmd/riscv/sbi.c                                      |  7 ++-----
>  cmd/rng.c                                            |  6 ++----
>  cmd/sandbox/exception.c                              |  5 ++---
>  cmd/scp03.c                                          |  7 ++++---
>  cmd/sf.c                                             |  8 +++-----
>  cmd/source.c                                         |  9 ++++-----
>  cmd/ti/pd.c                                          | 10 +++++-----
>  cmd/vbe.c                                            |  6 ++----
>  cmd/wdt.c                                            |  4 ++--
>  cmd/ximg.c                                           |  6 ++----
>  cmd/xxd.c                                            |  6 ++----
>  test/cmd_ut.c                                        |  6 ++----
>  test/fuzz/cmd_fuzz.c                                 |  7 ++-----
>  58 files changed, 129 insertions(+), 230 deletions(-)

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

Thanks for doing this


More information about the U-Boot mailing list