summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorLoys Ollivier2019-06-17 21:29:49 +0200
committerPaul Walmsley2019-07-01 22:20:01 +0200
commitedb7f21c3aece6ef24f15ff4d22cceec4a339aac (patch)
tree276715d5400b0056121f4a961292acc5f0e2142a /arch/riscv
parentarch: riscv: add config option for building SiFive's SoC resource (diff)
downloadkernel-qcow2-linux-edb7f21c3aece6ef24f15ff4d22cceec4a339aac.tar.gz
kernel-qcow2-linux-edb7f21c3aece6ef24f15ff4d22cceec4a339aac.tar.xz
kernel-qcow2-linux-edb7f21c3aece6ef24f15ff4d22cceec4a339aac.zip
riscv: select SiFive platform drivers with SOC_SIFIVE
On selection of SOC_SIFIVE select the corresponding platform drivers. Signed-off-by: Loys Ollivier <lollivier@baylibre.com> Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/Kconfig.socs5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 60dae1b5f276..536c0ef4aee8 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -2,6 +2,11 @@ menu "SoC selection"
config SOC_SIFIVE
bool "SiFive SoCs"
+ select SERIAL_SIFIVE
+ select SERIAL_SIFIVE_CONSOLE
+ select CLK_SIFIVE
+ select CLK_SIFIVE_FU540_PRCI
+ select SIFIVE_PLIC
help
This enables support for SiFive SoC platform hardware.