diff options
author | Simon Glass <sjg@chromium.org> | 2015-10-17 19:41:23 -0600 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-11-04 14:49:53 +0100 |
commit | 71556fbcbfb8918c093bcb0095dcaf12fa29e0dc (patch) | |
tree | c3dfab5d3c5fc3faf52fc071a6831e78c5e039f0 /arch/arm/mach-zynq/u-boot-spl.lds | |
parent | c54c0a4c1c745a009565ceb2a5c564d4d9418476 (diff) |
dm: arm: zynq: Enable device tree control in SPL
Move to using device tree control in SPL so that we can use the same driver
code in both SPL and U-Boot proper.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynq/u-boot-spl.lds')
-rw-r--r-- | arch/arm/mach-zynq/u-boot-spl.lds | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/mach-zynq/u-boot-spl.lds b/arch/arm/mach-zynq/u-boot-spl.lds index 0f2f756f83..ecdf6a031e 100644 --- a/arch/arm/mach-zynq/u-boot-spl.lds +++ b/arch/arm/mach-zynq/u-boot-spl.lds @@ -38,10 +38,18 @@ SECTIONS } > .sram . = ALIGN(4); +#ifdef CONFIG_SPL_DM + .u_boot_list : { + KEEP(*(SORT(.u_boot_list_*_driver_*))); + KEEP(*(SORT(.u_boot_list_*_uclass_*))); + } > .sram + + . = ALIGN(4); +#endif . = .; - __image_copy_end = .; + _image_binary_end = .; _end = .; |