]> git.dujemihanovic.xyz Git - u-boot.git/commit
command.h: Add a U_BOOT_LONGHELP macro
authorTom Rini <trini@konsulko.com>
Sat, 7 Oct 2023 19:13:07 +0000 (15:13 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 16 Oct 2023 14:22:11 +0000 (10:22 -0400)
commitdec5777fffcc6f9e97a20bc23fc7353b30b70ed5
tree5f39825109fc7d8780aae3bd4df95d1878fc2b46
parentef3ceb2cae6c4763786f5e1b9364b1c8e2d1d029
command.h: Add a U_BOOT_LONGHELP macro

In order to be able to discard unused long help texts without further
linker lists, add a macro for defining the long help messages which uses
__maybe_unused.  This allows us to discard them as unreferenced as part
of the link.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/command.h