summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorLoys Ollivier <lollivier@baylibre.com>2019-06-17 21:29:49 +0200
committerPaul Walmsley <paul.walmsley@sifive.com>2019-07-01 13:20:01 -0700
commitedb7f21c3aece6ef24f15ff4d22cceec4a339aac (patch)
tree276715d5400b0056121f4a961292acc5f0e2142a /arch/riscv
parent0cbb8a32cb6db616cfe3d412a1c872f9776d1073 (diff)
downloadlinux-edb7f21c3aece6ef24f15ff4d22cceec4a339aac.tar.gz
linux-edb7f21c3aece6ef24f15ff4d22cceec4a339aac.tar.bz2
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.