summaryrefslogtreecommitdiff
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-09-26 06:55:19 -0700
committerAndes <uboot@andestech.com>2018-10-03 17:48:25 +0800
commitbf6cc82c7c2c12a8f2920d31f7f0b7fec2da30c7 (patch)
treef9eddb3d10c8a2371128b41ded152052a3af0207 /arch/Kconfig
parent4694c93fef4606ab1d6b604b84c156445f2c7a07 (diff)
riscv: kconfig: Select DM and OF_CONTROL
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>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 49f0d441b6..694258cfa2 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -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"