mips: add __image_copy_len for SPL linker script
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 20 May 2022 03:21:45 +0000 (11:21 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 13 Jul 2022 21:03:37 +0000 (23:03 +0200)
commit9a3bbb0eba51cc6abd11354a52fdff709756a7c2
treea9d34d8fcd7d5502d9b5ae89eb75eb637b56c96d
parent3a6cf2ded716122313e90436b0d9afaebae4e70d
mips: add __image_copy_len for SPL linker script

This patch adds __image_copy_len needed by TPL of MT7621 SoC.
The __image_copy_len represents the binary blob size of both SPL/TPL
binaries. To achieve this, __text_start/end are added for calculation.

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/mips/cpu/u-boot-spl.lds