From 117a433d9e66ff986c97f60c2f6daa167f8ee729 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Wed, 26 Sep 2018 06:55:06 -0700 Subject: riscv: kconfig: Normalize architecture name spelling It's RISC-V that is the official name, not RISCV. Signed-off-by: Bin Meng Reviewed-by: Lukas Auer Reviewed-by: Rick Chen --- arch/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/Kconfig') diff --git a/arch/Kconfig b/arch/Kconfig index 9b4bcbf2fd..49f0d441b6 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -60,7 +60,7 @@ config PPC select SYS_BOOT_GET_KBD config RISCV - bool "riscv architecture" + bool "RISC-V architecture" select SUPPORT_OF_CONTROL config SANDBOX -- cgit From bf6cc82c7c2c12a8f2920d31f7f0b7fec2da30c7 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Wed, 26 Sep 2018 06:55:19 -0700 Subject: 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 Reviewed-by: Lukas Auer --- arch/Kconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/Kconfig') 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" -- cgit From cd1f45c21d7e152eba000bf7c2168aaff800ed37 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Wed, 26 Sep 2018 06:55:20 -0700 Subject: riscv: kconfig: Imply DM support for some common drivers This implies DM support for some common drivers that are used on RISC-V. Signed-off-by: Bin Meng Reviewed-by: Lukas Auer --- arch/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'arch/Kconfig') diff --git a/arch/Kconfig b/arch/Kconfig index 694258cfa2..c988c17f37 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 -- cgit