mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-22 15:42:04 +00:00
arm64: define _image_binary_end to fix SPL_OF_CONTROL
To make SPL_OF_CONTROL work on ARM64 SoCs, _image_binary_end must be defined in the linker script. LD spl/u-boot-spl lib/built-in.o: In function `fdtdec_setup': lib/fdtdec.c:1186: undefined reference to `_image_binary_end' lib/fdtdec.c:1186: undefined reference to `_image_binary_end' make[1]: *** [spl/u-boot-spl] Error 1 make: *** [spl/u-boot-spl] Error 2 Note: CONFIG_SPL_SEPARATE_BSS must be defined as well on ARM64 SoCs. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
26eccf31b3
commit
0ea6cc1253
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ SECTIONS
|
|||
*(.__end)
|
||||
} >.sram
|
||||
|
||||
_image_binary_end = .;
|
||||
|
||||
.bss_start : {
|
||||
. = ALIGN(8);
|
||||
KEEP(*(.__bss_start));
|
||||
|
|
Loading…
Reference in a new issue