riscv: kconfig: Select DM and OF_CONTROL
authorBin Meng <bmeng.cn@gmail.com>
Wed, 26 Sep 2018 13:55:19 +0000 (06:55 -0700)
committerAndes <uboot@andestech.com>
Wed, 3 Oct 2018 09:48:25 +0000 (17:48 +0800)
RISC-V is a pretty new architecture and should support DM and
OF_CONTROL by default.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
arch/Kconfig
configs/ax25-ae350_defconfig

index 49f0d441b6456bee60226b289b020d904907d730..694258cfa2ca708e2649341341717511caf1bc98 100644 (file)
@@ -62,6 +62,9 @@ config PPC
 config RISCV
        bool "RISC-V architecture"
        select SUPPORT_OF_CONTROL
+       select OF_CONTROL
+       select DM
+       imply CMD_DM
 
 config SANDBOX
        bool "Sandbox"
index d64f078481b09f4f160402b371c755b651abe00a..ebcc52e221abf198408b2778c301847dccc57039 100644 (file)
@@ -15,12 +15,10 @@ CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_BOOTP_PREFER_SERVERIP=y
 CONFIG_CMD_CACHE=y
-CONFIG_OF_CONTROL=y
 CONFIG_OF_BOARD=y
 CONFIG_DEFAULT_DEVICE_TREE="ae350"
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_NET_RANDOM_ETHADDR=y
-CONFIG_DM=y
 CONFIG_CLK=y
 CONFIG_MMC=y
 CONFIG_DM_MMC=y