mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
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>
This commit is contained in:
parent
0521f98427
commit
f8fff9dac9
1 changed files with 7 additions and 0 deletions
|
@ -34,6 +34,13 @@ SECTIONS
|
||||||
. = ALIGN(4);
|
. = 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 = .;
|
__image_copy_end = .;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue