summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-03-16 01:47:40 +0100
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-04-03 19:50:14 +0200
commit8759a42bf1d04232835ed9287860fe6c124f3aac (patch)
tree53e00ac8d6baec00f5e29d4366c87736578c8ab5
parentriscv: Add Kendryte K210 SoC support (diff)
downloadlinux-8759a42bf1d04232835ed9287860fe6c124f3aac.tar.xz
linux-8759a42bf1d04232835ed9287860fe6c124f3aac.zip
riscv: Select required drivers for Kendryte SOC
This patch selects drivers required for the Kendryte K210 SOC. Since K210 SoC based boards do not provide a device tree, this patch also enables the BUILTIN_DTB option. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
-rw-r--r--arch/riscv/Kconfig.socs4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 69071578e181..a843100124ae 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -37,6 +37,10 @@ config SOC_VIRT
config SOC_KENDRYTE
bool "Kendryte K210 SoC"
depends on !MMU
+ select BUILTIN_DTB
+ select SERIAL_SIFIVE if TTY
+ select SERIAL_SIFIVE_CONSOLE if TTY
+ select SIFIVE_PLIC
help
This enables support for Kendryte K210 SoC platform hardware.