aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/patches/001-mtk-0003-mips-add-__image_copy_len-for-SPL-linker-script.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/uboot-mediatek/patches/001-mtk-0003-mips-add-__image_copy_len-for-SPL-linker-script.patch')
-rw-r--r--package/boot/uboot-mediatek/patches/001-mtk-0003-mips-add-__image_copy_len-for-SPL-linker-script.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/package/boot/uboot-mediatek/patches/001-mtk-0003-mips-add-__image_copy_len-for-SPL-linker-script.patch b/package/boot/uboot-mediatek/patches/001-mtk-0003-mips-add-__image_copy_len-for-SPL-linker-script.patch
deleted file mode 100644
index 8a74d6728b..0000000000
--- a/package/boot/uboot-mediatek/patches/001-mtk-0003-mips-add-__image_copy_len-for-SPL-linker-script.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 71ebc3d25147172e219ea87bec061f751257395b Mon Sep 17 00:00:00 2001
-From: Weijie Gao <weijie.gao@mediatek.com>
-Date: Fri, 20 May 2022 11:21:45 +0800
-Subject: [PATCH 03/25] 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 | 3 +++
- 1 file changed, 3 insertions(+)
-
---- a/arch/mips/cpu/u-boot-spl.lds
-+++ b/arch/mips/cpu/u-boot-spl.lds
-@@ -13,7 +13,9 @@ SECTIONS
-
- . = ALIGN(4);
- .text : {
-+ __text_start = .;
- *(.text*)
-+ __text_end = .;
- } > .spl_mem
-
- . = ALIGN(4);
-@@ -36,6 +38,7 @@ SECTIONS
-
- . = ALIGN(4);
- __image_copy_end = .;
-+ __image_copy_len = __image_copy_end - __text_start;
-
- _image_binary_end = .;
-