summaryrefslogtreecommitdiffstats
path: root/arch/riscv/Kconfig.socs
diff options
context:
space:
mode:
authorEmil Renner Berthing <kernel@esmil.dk>2021-10-10 16:10:32 +0200
committerEmil Renner Berthing <kernel@esmil.dk>2021-11-28 20:03:34 +0100
commit3d24568b01c5a7a9e88f73f917477b60edb35bfe (patch)
treed65baf2966a93594b97941935fba95b123b054e4 /arch/riscv/Kconfig.socs
parentLinux 5.16-rc1 (diff)
downloadlinux-3d24568b01c5a7a9e88f73f917477b60edb35bfe.tar.xz
linux-3d24568b01c5a7a9e88f73f917477b60edb35bfe.zip
RISC-V: Add StarFive SoC Kconfig option
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>
Diffstat (limited to 'arch/riscv/Kconfig.socs')
-rw-r--r--arch/riscv/Kconfig.socs8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 30676ebb16eb..6ec44a22278a 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -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