RISC-V: Add StarFive SoC Kconfig option
authorEmil Renner Berthing <kernel@esmil.dk>
Sun, 10 Oct 2021 14:10:32 +0000 (16:10 +0200)
committerEmil Renner Berthing <kernel@esmil.dk>
Sun, 28 Nov 2021 19:03:34 +0000 (20:03 +0100)
Add StarFive Kconfig option to select SoC specific and common drivers
required for these SoCs. Select subsystems required to boot so the
required drivers gets enabled by default.

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
arch/riscv/Kconfig.socs

index 30676ebb16ebd754b33e5f52ac322942626cdcdd..6ec44a22278a419132ece3b12436010a52b7d1b3 100644 (file)
@@ -19,6 +19,14 @@ config SOC_SIFIVE
        help
          This enables support for SiFive SoC platform hardware.
 
+config SOC_STARFIVE
+       bool "StarFive SoCs"
+       select PINCTRL
+       select RESET_CONTROLLER
+       select SIFIVE_PLIC
+       help
+         This enables support for StarFive SoC platform hardware.
+
 config SOC_VIRT
        bool "QEMU Virt Machine"
        select CLINT_TIMER if RISCV_M_MODE