summaryrefslogtreecommitdiff
path: root/arch/riscv/Kconfig.socs
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-03-16 09:47:40 +0900
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-04-03 10:50:14 -0700
commit8759a42bf1d04232835ed9287860fe6c124f3aac (patch)
tree53e00ac8d6baec00f5e29d4366c87736578c8ab5 /arch/riscv/Kconfig.socs
parentc48c4a4c7eadb76593965e2b956e4e2b23a4e388 (diff)
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>
Diffstat (limited to 'arch/riscv/Kconfig.socs')
-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.