diff options
author | Simon Glass <sjg@chromium.org> | 2022-10-20 18:22:41 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-10-31 11:01:31 -0400 |
commit | 2b8d2ccdc91318a47963069373e5244d5abea3c7 (patch) | |
tree | e9c9b82c9d931d687be02abc6b819423953f5428 /include/spl.h | |
parent | 3e62adc497edbe5e884ebb59f2692cedfeb5887c (diff) | |
download | u-boot-2b8d2ccdc91318a47963069373e5244d5abea3c7.tar.gz u-boot-2b8d2ccdc91318a47963069373e5244d5abea3c7.tar.bz2 u-boot-2b8d2ccdc91318a47963069373e5244d5abea3c7.zip |
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>
Diffstat (limited to 'include/spl.h')
-rw-r--r-- | include/spl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/spl.h b/include/spl.h index 5d5c60ab28..09a12f815f 100644 --- a/include/spl.h +++ b/include/spl.h @@ -286,10 +286,10 @@ struct spl_load_info { */ binman_sym_extern(ulong, u_boot_any, image_pos); binman_sym_extern(ulong, u_boot_any, size); -binman_sym_extern(ulong, u_boot_spl, image_pos); -binman_sym_extern(ulong, u_boot_spl, size); -binman_sym_extern(ulong, u_boot_vpl, image_pos); -binman_sym_extern(ulong, u_boot_vpl, size); +binman_sym_extern(ulong, u_boot_spl_any, image_pos); +binman_sym_extern(ulong, u_boot_spl_any, size); +binman_sym_extern(ulong, u_boot_vpl_any, image_pos); +binman_sym_extern(ulong, u_boot_vpl_any, size); /** * spl_get_image_pos() - get the image position of the next phase |