[U-Boot] [PATCH v2 3/7] MIPS: define __init_end in u-boot.lds
Paul Burton
paul.burton at imgtec.com
Mon Apr 7 11:11:19 CEST 2014
The generic board code uses the __init_end symbol to calculate
monitor_flash_len. Define said symbol for MIPS, equivalent to
__image_copy_end which is used for the same purpose in
arch/mips/lib/board.c.
Signed-off-by: Paul Burton <paul.burton at imgtec.com>
---
Changes since v1:
- None
---
arch/mips/cpu/u-boot.lds | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/cpu/u-boot.lds b/arch/mips/cpu/u-boot.lds
index 16a9d6a..488ef76 100644
--- a/arch/mips/cpu/u-boot.lds
+++ b/arch/mips/cpu/u-boot.lds
@@ -53,6 +53,7 @@ SECTIONS
. = ALIGN(4);
__image_copy_end = .;
+ __init_end = .;
.rel.dyn : {
__rel_dyn_start = .;
--
1.8.5.3
More information about the U-Boot
mailing list