aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/cpu/u-boot-spl.lds
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/u-boot-spl.lds')
-rw-r--r--arch/arm/cpu/u-boot-spl.lds7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/cpu/u-boot-spl.lds b/arch/arm/cpu/u-boot-spl.lds
index 4beddf08e76..a69b0061d21 100644
--- a/arch/arm/cpu/u-boot-spl.lds
+++ b/arch/arm/cpu/u-boot-spl.lds
@@ -34,6 +34,13 @@ SECTIONS
. = ALIGN(4);
. = .;
+#ifdef CONFIG_SPL_DM
+ .u_boot_list : {
+ KEEP(*(SORT(.u_boot_list_*_driver_*)));
+ KEEP(*(SORT(.u_boot_list_*_uclass_*)));
+ }
+#endif
+ . = ALIGN(4);
__image_copy_end = .;