[PATCH 1/2] command.h: Add a U_BOOT_LONGHELP macro

Tom Rini trini at konsulko.com
Mon Oct 16 23:32:03 CEST 2023


On Sat, Oct 07, 2023 at 03:13:07PM -0400, Tom Rini wrote:

> 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 at konsulko.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231016/25eb1c3f/attachment.sig>


More information about the U-Boot mailing list