arm64: define _image_binary_end to fix SPL_OF_CONTROL
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 8 Mar 2016 11:34:44 +0000 (20:34 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 14 Mar 2016 23:18:52 +0000 (19:18 -0400)
commit0ea6cc125312ce31dca769a6e118bcceeb320529
treef6b31a6a15f32f9c415361068d46daac7c26caff
parent26eccf31b3355a05c04cb608e577dee52bda3f75
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>
arch/arm/cpu/armv8/u-boot-spl.lds