[U-Boot] [PATCH v3 15/17] riscv: kconfig: Imply DM support for some common drivers
Bin Meng
bmeng.cn at gmail.com
Wed Sep 26 13:55:20 UTC 2018
This implies DM support for some common drivers that are used on
RISC-V.
Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---
Changes in v3:
- new patch to imply DM support for some common drivers
Changes in v2: None
arch/Kconfig | 9 +++++++++
configs/ax25-ae350_defconfig | 8 --------
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index e62c3cb..ce183fa 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -64,6 +64,15 @@ config RISCV
select SUPPORT_OF_CONTROL
select OF_CONTROL
select DM
+ imply DM_SERIAL
+ imply DM_ETH
+ imply DM_MMC
+ imply DM_SPI
+ imply DM_SPI_FLASH
+ imply BLK
+ imply CLK
+ imply MTD
+ imply TIMER
imply CMD_DM
config SANDBOX
diff --git a/configs/ax25-ae350_defconfig b/configs/ax25-ae350_defconfig
index ebcc52e..614ef15 100644
--- a/configs/ax25-ae350_defconfig
+++ b/configs/ax25-ae350_defconfig
@@ -19,24 +19,16 @@ CONFIG_OF_BOARD=y
CONFIG_DEFAULT_DEVICE_TREE="ae350"
CONFIG_ENV_IS_IN_SPI_FLASH=y
CONFIG_NET_RANDOM_ETHADDR=y
-CONFIG_CLK=y
CONFIG_MMC=y
-CONFIG_DM_MMC=y
CONFIG_FTSDC010=y
CONFIG_FTSDC010_SDIO=y
-CONFIG_MTD=y
CONFIG_MTD_NOR_FLASH=y
CONFIG_CFI_FLASH=y
-CONFIG_DM_SPI_FLASH=y
CONFIG_SPI_FLASH=y
CONFIG_SPI_FLASH_MACRONIX=y
-CONFIG_DM_ETH=y
CONFIG_FTMAC100=y
CONFIG_BAUDRATE=38400
-CONFIG_DM_SERIAL=y
CONFIG_SYS_NS16550=y
CONFIG_SPI=y
-CONFIG_DM_SPI=y
CONFIG_ATCSPI200_SPI=y
-CONFIG_TIMER=y
CONFIG_ATCPIT100_TIMER=y
--
2.7.4
More information about the U-Boot
mailing list