diff mbox series

[U-Boot,1/2] arm64: versal: Enable i2c cadence controller and i2c command

Message ID ffb94f5e613938903bc8b80061d7ed37899140e1.1547713037.git.michal.simek@xilinx.com
State Accepted
Commit c447a17d9e94ddca3ae6c5c11a1a7bb6618950a5
Delegated to: Michal Simek
Headers show
Series [U-Boot,1/2] arm64: versal: Enable i2c cadence controller and i2c command | expand

Commit Message

Michal Simek Jan. 17, 2019, 8:17 a.m. UTC
Enable communication over i2c.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 configs/xilinx_versal_virt_defconfig | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
index e1797db9821b..3f26163913b7 100644
--- a/configs/xilinx_versal_virt_defconfig
+++ b/configs/xilinx_versal_virt_defconfig
@@ -20,6 +20,7 @@  CONFIG_CMD_BOOTMENU=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_SYS_ALT_MEMTEST=y
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_DHCP=y
@@ -42,6 +43,8 @@  CONFIG_OF_BOARD=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_DM_GPIO=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_CADENCE=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ZYNQ=y
 CONFIG_DM_SPI_FLASH=y