summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-zynq/u-boot-spl.lds
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-zynq/u-boot-spl.lds')
-rw-r--r--arch/arm/mach-zynq/u-boot-spl.lds10
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/mach-zynq/u-boot-spl.lds b/arch/arm/mach-zynq/u-boot-spl.lds
index 0f2f756f83..ecdf6a031e 100644
--- a/arch/arm/mach-zynq/u-boot-spl.lds
+++ b/arch/arm/mach-zynq/u-boot-spl.lds
@@ -38,10 +38,18 @@ SECTIONS
} > .sram
. = ALIGN(4);
+#ifdef CONFIG_SPL_DM
+ .u_boot_list : {
+ KEEP(*(SORT(.u_boot_list_*_driver_*)));
+ KEEP(*(SORT(.u_boot_list_*_uclass_*)));
+ } > .sram
+
+ . = ALIGN(4);
+#endif
. = .;
- __image_copy_end = .;
+ _image_binary_end = .;
_end = .;
OpenPOWER on IntegriCloud