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

2023-10-16 Thread Tom Rini
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. > >

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

2023-10-16 Thread Tom Rini
On Sun, Oct 15, 2023 at 08:39:44AM -0600, Simon Glass wrote: > Hi Tom, > > On Sat, 7 Oct 2023 at 13:13, 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. T

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

2023-10-15 Thread Simon Glass
Hi Tom, On Sat, 7 Oct 2023 at 13:13, 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. > > Si

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

2023-10-07 Thread Simon Glass
On Sat, 7 Oct 2023 at 13:13, 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-

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

2023-10-07 Thread Tom Rini
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 --- include/command.h | 3 +++ 1 file change