From: Simon Glass Date: Tue, 11 Nov 2014 00:16:52 +0000 (-0700) Subject: dm: arm: spl: Make driver model linker lists available X-Git-Tag: v2015.01-rc2~4^2~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f8fff9dac9226792491e4106c13ebda985fe4e90;p=u-boot 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 Reviewed-by: Tom Rini --- diff --git a/arch/arm/cpu/u-boot-spl.lds b/arch/arm/cpu/u-boot-spl.lds index 4beddf08e7..a69b0061d2 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 = .;