riscv: Select required drivers for Kendryte SOC
authorDamien Le Moal <damien.lemoal@wdc.com>
Mon, 16 Mar 2020 00:47:40 +0000 (09:47 +0900)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Fri, 3 Apr 2020 17:50:14 +0000 (10:50 -0700)
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>
arch/riscv/Kconfig.socs

index 69071578e18162637d2b2a0cee8a6708dfcec71b..a843100124aed0d2cce5fd985fd261737e9e7dda 100644 (file)
@@ -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.