From: Michal Simek <michal.simek@xilinx.com>
Date: Tue, 3 Feb 2015 14:09:52 +0000 (+0100)
Subject: microblaze: spl: Add LISTS to linker script
X-Git-Tag: v2025.01-rc5-pxa1908~13801^2
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=7f33899221e4235900760add69ffbb5f66f1229d;p=u-boot.git

microblaze: spl: Add LISTS to linker script

This is required for driver model.

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

diff --git a/arch/microblaze/cpu/u-boot-spl.lds b/arch/microblaze/cpu/u-boot-spl.lds
index 96353cd96c..c60336ca5c 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 = .;