spl: Use binman suffix allow symbols of any SPL etype
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:22:41 +0000 (18:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:01:31 +0000 (11:01 -0400)
commit2b8d2ccdc91318a47963069373e5244d5abea3c7
treee9c9b82c9d931d687be02abc6b819423953f5428
parent3e62adc497edbe5e884ebb59f2692cedfeb5887c
spl: Use binman suffix allow symbols of any SPL etype

At present we use symbols for the u-boot-spl entry, but this is not always
what we want. For example, sandbox actually jumps to a u-boot-spl-elf
entry, since sandbox executables are ELF files.

We already handle this with U-Boot by using the '-any' suffix. Add it for
SPL as well.

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