diff mbox series

[U-Boot,v3,15/17] riscv: kconfig: Imply DM support for some common drivers

Message ID 1537970122-26443-16-git-send-email-bmeng.cn@gmail.com
State Accepted
Commit cd1f45c21d7e152eba000bf7c2168aaff800ed37
Delegated to: Andes
Headers show
Series riscv: Add QEMU virt board support | expand

Commit Message

Bin Meng Sept. 26, 2018, 1:55 p.m. UTC
This implies DM support for some common drivers that are used on
RISC-V.

Signed-off-by: Bin Meng <bmeng.cn@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(-)

Comments

Lukas Auer Sept. 30, 2018, 10:03 p.m. UTC | #1
On Wed, 2018-09-26 at 06:55 -0700, Bin Meng wrote:
> This implies DM support for some common drivers that are used on
> RISC-V.
> 
> Signed-off-by: Bin Meng <bmeng.cn@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(-)
> 
> 

Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
diff mbox series

Patch

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