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>
lime2-spi
Bin Meng 6 years ago committed by Andes
parent 4694c93fef
commit bf6cc82c7c
  1. 3
      arch/Kconfig
  2. 2
      configs/ax25-ae350_defconfig

@ -62,6 +62,9 @@ config PPC
config RISCV config RISCV
bool "RISC-V architecture" bool "RISC-V architecture"
select SUPPORT_OF_CONTROL select SUPPORT_OF_CONTROL
select OF_CONTROL
select DM
imply CMD_DM
config SANDBOX config SANDBOX
bool "Sandbox" bool "Sandbox"

@ -15,12 +15,10 @@ CONFIG_CMD_SF_TEST=y
# CONFIG_CMD_SETEXPR is not set # CONFIG_CMD_SETEXPR is not set
CONFIG_BOOTP_PREFER_SERVERIP=y CONFIG_BOOTP_PREFER_SERVERIP=y
CONFIG_CMD_CACHE=y CONFIG_CMD_CACHE=y
CONFIG_OF_CONTROL=y
CONFIG_OF_BOARD=y CONFIG_OF_BOARD=y
CONFIG_DEFAULT_DEVICE_TREE="ae350" CONFIG_DEFAULT_DEVICE_TREE="ae350"
CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_ENV_IS_IN_SPI_FLASH=y
CONFIG_NET_RANDOM_ETHADDR=y CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_DM=y
CONFIG_CLK=y CONFIG_CLK=y
CONFIG_MMC=y CONFIG_MMC=y
CONFIG_DM_MMC=y CONFIG_DM_MMC=y

Loading…
Cancel
Save