summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-11 00:16:52 (GMT)
committerSimon Glass <sjg@chromium.org>2014-11-21 07:14:11 (GMT)
commitf8fff9dac9226792491e4106c13ebda985fe4e90 (patch)
treec635dc97869b62d0e8cd198dd72562b73084acf8 /arch
parent0521f9842731b3f79d5ee33907af773cd4732f0f (diff)
downloadu-boot-f8fff9dac9226792491e4106c13ebda985fe4e90.tar.xz
dm: arm: spl: Make driver model linker lists available
The linker lists feature is useful in SPL as it holds the driver model platform data. So don't throw away the lists. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch')
-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 4beddf0..a69b006 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 = .;