arm64: versal: Setup DM_ETH/MMC if NET/MMC is enabled
authorMichal Simek <michal.simek@xilinx.com>
Tue, 15 Jan 2019 07:52:46 +0000 (08:52 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 24 Jan 2019 09:03:43 +0000 (10:03 +0100)
Setup proper ETH/MMC dependency for the whole platform.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/Kconfig
configs/xilinx_versal_virt_defconfig

index d6b1629a00a605d88c11f7aabdf84757eaffa22d..d69958b5a254b5aadc5e29582f176009b4599bbe 100644 (file)
@@ -886,6 +886,8 @@ config ARCH_VERSAL
        select ARM64
        select CLK
        select DM
+       select DM_ETH if NET
+       select DM_MMC if MMC
        select DM_SERIAL
        select OF_CONTROL
 
index 668c313a2914b44a5154da5e2830b219cac41847..e1797db9821be865f432017f57a5cdeee04d3ab1 100644 (file)
@@ -42,7 +42,6 @@ CONFIG_OF_BOARD=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_DM_GPIO=y
-CONFIG_DM_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ZYNQ=y
 CONFIG_DM_SPI_FLASH=y
@@ -55,7 +54,6 @@ CONFIG_SPI_FLASH_SST=y
 CONFIG_SPI_FLASH_WINBOND=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_PHY_FIXED=y
-CONFIG_DM_ETH=y
 CONFIG_PHY_GIGE=y
 CONFIG_MII=y
 CONFIG_ZYNQ_GEM=y