[PATCH v2 14/21] mips: enable support for appending dtb to spl binary
Daniel Schwierzeck
daniel.schwierzeck at gmail.com
Fri Jan 17 13:26:20 CET 2020
Am 17.01.20 um 08:46 schrieb Weijie Gao:
> If CONFIG_SPL_OF_CONTROL is enabled for SPL and CONFIG_OF_SEPARATE is also
> enabled, the dtb will be appended to the u-boot-spl.bin.
>
> When calling dm_init_and_scan() in SPL, fdtdec_setup() will try to locate
> dtb at the end of u-boot-spl.bin, by referencing to _image_binary_end.
>
> However _image_binary_end is currently missing in u-boot-spl.lds.
> This patch adds _image_binary_end to u-boot-spl.lds to make sure linking
> u-boot-spl will not fail.
>
> Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
> ---
> Changes since v1: newly added
> ---
> arch/mips/cpu/u-boot-spl.lds | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
--
- Daniel
More information about the U-Boot
mailing list