[U-Boot] [PATCH 3/5] MIPS: define __init_end in u-boot.lds

Paul Burton paul.burton at imgtec.com
Fri Apr 4 13:19:09 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>
---
 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