arm64: zynqmp: Enable SPL for mini qspi configuration
authorMichal Simek <michal.simek@xilinx.com>
Thu, 29 Nov 2018 14:03:40 +0000 (15:03 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 29 Nov 2018 14:13:57 +0000 (15:13 +0100)
Wire up mini_qspi SPL with zcu102 for testing purpose.
Normally mini u-boot runs with FSBL/SPL for certain board.
Enabling SPL and configuration from zcu102 helps with testing.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp-mini-qspi [new symlink]
configs/xilinx_zynqmp_mini_qspi_defconfig

diff --git a/board/xilinx/zynqmp/zynqmp-mini-qspi b/board/xilinx/zynqmp/zynqmp-mini-qspi
new file mode 120000 (symlink)
index 0000000..5a70cd2
--- /dev/null
@@ -0,0 +1 @@
+zynqmp-zcu102-rev1.0
\ No newline at end of file
index 53766e2e19352ae3c258ad48266306788805e630..89b81e76658e655f403d216087f02736cb833bc4 100644 (file)
@@ -3,6 +3,7 @@ CONFIG_SYS_CONFIG_NAME="xilinx_zynqmp_mini_qspi"
 CONFIG_ARCH_ZYNQMP=y
 CONFIG_SYS_TEXT_BASE=0xFFFC0000
 CONFIG_ENV_SIZE=0x578
+CONFIG_SPL=y
 CONFIG_SYS_MEM_RSVD_FOR_MMU=y
 CONFIG_ZYNQMP_NO_DDR=y
 # CONFIG_CMD_ZYNQMP is not set
@@ -43,11 +44,14 @@ CONFIG_CMD_SF=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_MISC is not set
 # CONFIG_PARTITIONS is not set
+CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="zynqmp-mini-qspi"
 # CONFIG_NET is not set
+CONFIG_SPL_DM=y
 # CONFIG_DM_WARN is not set
 # CONFIG_DM_DEVICE_REMOVE is not set
+CONFIG_SPL_DM_SEQ_ALIAS=y
 # CONFIG_MMC is not set
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y