projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0521f98
)
dm: arm: spl: Make driver model linker lists available
author
Simon Glass
<sjg@chromium.org>
Tue, 11 Nov 2014 00:16:52 +0000
(17:16 -0700)
committer
Simon Glass
<sjg@chromium.org>
Fri, 21 Nov 2014 07:14:11 +0000
(08:14 +0100)
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>
arch/arm/cpu/u-boot-spl.lds
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/u-boot-spl.lds
b/arch/arm/cpu/u-boot-spl.lds
index 4beddf08e76722251b9d77182c7fc9bef508c314..a69b0061d21942df2dc04923a0009da55ae970dd 100644
(file)
--- 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 = .;