image: Fix FIT image loadable section custom processing
authorMarek Vasut <marek.vasut@mailbox.org>
Mon, 12 May 2025 15:58:39 +0000 (17:58 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 30 May 2025 16:19:24 +0000 (10:19 -0600)
commite15282f943b42647478ec158011656df7cf12ec2
tree6e63bb0239b49dfa63343a2679ba6debac6caf8e
parentc7f360f20d848f9e2b607885a280084290732566
image: Fix FIT image loadable section custom processing

The original commit always generated linker list entries with the same
entry variable name, because _function passed to ll_entry_declare() is
not a variable and therefore was interpreted as fixed string. Change it
to _type which is a variable and which does allow generation of multiple
unique linker list entries, one for each U_BOOT_FIT_LOADABLE_HANDLER().

Fixes: d7be50921ed3 ("image: Add FIT image loadable section custom processing")
Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
include/image.h