[U-Boot] [PATCH 2/2] microblaze: spl: Add LISTS to linker script

Michal Simek michal.simek at xilinx.com
Tue Feb 3 16:39:50 CET 2015


This is required for driver model.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 arch/microblaze/cpu/u-boot-spl.lds | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/microblaze/cpu/u-boot-spl.lds b/arch/microblaze/cpu/u-boot-spl.lds
index 96353cd96ca7..c60336ca5ca8 100644
--- a/arch/microblaze/cpu/u-boot-spl.lds
+++ b/arch/microblaze/cpu/u-boot-spl.lds
@@ -37,6 +37,12 @@ SECTIONS
 		__data_end = .;
 	}
 
+	. = ALIGN(4);
+	.u_boot_list : {
+		KEEP(*(SORT(.u_boot_list*)));
+	}
+	__init_end = . ;
+
 	.bss ALIGN(0x4):
 	{
 		__bss_start = .;
-- 
1.8.2.3



More information about the U-Boot mailing list