mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 14:41:26 +01:00
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>
This commit is contained in:
parent
c54c0a4c1c
commit
71556fbcbf
@ -543,9 +543,12 @@ config ARCH_ZYNQ
|
|||||||
select CPU_V7
|
select CPU_V7
|
||||||
select SUPPORT_SPL
|
select SUPPORT_SPL
|
||||||
select OF_CONTROL
|
select OF_CONTROL
|
||||||
|
select SPL_OF_CONTROL
|
||||||
select DM
|
select DM
|
||||||
|
select SPL_DM
|
||||||
select DM_SPI
|
select DM_SPI
|
||||||
select DM_SPI_FLASH
|
select DM_SPI_FLASH
|
||||||
|
select SPL_SEPARATE_BSS
|
||||||
|
|
||||||
config ARCH_ZYNQMP
|
config ARCH_ZYNQMP
|
||||||
bool "Support Xilinx ZynqMP Platform"
|
bool "Support Xilinx ZynqMP Platform"
|
||||||
|
|||||||
@ -38,10 +38,18 @@ SECTIONS
|
|||||||
} > .sram
|
} > .sram
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = 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 = .;
|
_end = .;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user