[RFC PATCH 4/9] linker_lists.h: add ll_*_name() helper macros

Simon Glass sjg at chromium.org
Mon May 25 16:32:06 CEST 2026


On 2026-05-22T21:27:48, Rasmus Villemoes <ravi at prevas.dk> wrote:
> linker_lists.h: add ll_*_name() helper macros
>
> Instead of open-coding the same section and symbol naming scheme over
> and over, add helper macros that take the list name (and, for entries,
> the name of the entry/entries) and construct a suitable string
> literal.
>
> This will be particularly important when the followup patches add even
> more uses of those names.
>
> No functional change.
>
> Signed-off-by: Rasmus Villemoes <ravi at prevas.dk>
> Reviewed-by: Tom Rini <trini at konsulko.com>
>
> include/linker_lists.h | 30 ++++++++++++++++++------------
>  1 file changed, 18 insertions(+), 12 deletions(-)

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


More information about the U-Boot mailing list