]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit28aff7745c50e29c67d5263973db5a3804c5874d
treea9d34d8fcd7d5502d9b5ae89eb75eb637b56c96d
parent05232c9532bba606d5ea75d5662b9bcec882fc1c
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