ARM: zynqmp: Enable DM and OF binding
authorMichal Simek <michal.simek@xilinx.com>
Sun, 18 Oct 2015 01:41:25 +0000 (19:41 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 4 Nov 2015 13:49:53 +0000 (14:49 +0100)
SPI requires DM and OF that's why enable DM for ZynqMP
and start to use configuration based on embedded OF.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/Kconfig
configs/xilinx_zynqmp_ep_defconfig

index 97b9647d192082f0ab999af8c114112e88bf01f5..fa51d62559adcdf3515700572cd6ac7188470f3a 100644 (file)
@@ -553,6 +553,9 @@ config ARCH_ZYNQ
 config ARCH_ZYNQMP
        bool "Support Xilinx ZynqMP Platform"
        select ARM64
+       select DM
+       select OF_CONTROL
+       select DM_SERIAL
 
 config TEGRA
        bool "NVIDIA Tegra"
index 770c797ffd87df407df2c79a2826bab1e2208dca..79304c1fb121bedfa79b0065758ba1d46c692a23 100644 (file)
@@ -2,7 +2,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_ZYNQMP=y
 CONFIG_ZYNQMP_USB=y
 CONFIG_SYS_TEXT_BASE=0x8000000
-CONFIG_DEFAULT_DEVICE_TREE="zynqmp-ep"
+CONFIG_DEFAULT_DEVICE_TREE="zynqmp-ep108"
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_CONSOLE is not set
 # CONFIG_CMD_IMLS is not set
@@ -20,5 +20,6 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_TIMER=y
+CONFIG_OF_EMBED=y
 CONFIG_NET_RANDOM_ETHADDR=y
 # CONFIG_REGEX is not set