Improve support for linker lists in data structures
authorSimon Glass <sjg@chromium.org>
Mon, 20 Jan 2025 21:25:27 +0000 (14:25 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 24 Jan 2025 20:34:40 +0000 (14:34 -0600)
commitf0781acc37fe91eebc8ff5b882503ecd6174af5a
tree872fa4c3b9e11a3954519e282655210865d45fde
parent94b5284398e52c44bde977aa8b1fa1f5992955a2
Improve support for linker lists in data structures

A limitation of most linker_list macros is that they cannot easily be
used in data structures. This is because they include code inside their
expressions.

Provide a way to support this, with new ll_start_decl() and
ll_end_decl() macros.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/linker_lists.h