]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
riscv: select SiFive platform drivers with SOC_SIFIVE
authorLoys Ollivier <lollivier@baylibre.com>
Mon, 17 Jun 2019 19:29:49 +0000 (21:29 +0200)
committerPaul Walmsley <paul.walmsley@sifive.com>
Mon, 1 Jul 2019 20:20:01 +0000 (13:20 -0700)
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>
arch/riscv/Kconfig.socs

index 60dae1b5f27666b18701c6d1da8d9d6ea26c7a0e..536c0ef4aee8496202501babae7f6000c29ed02e 100644 (file)
@@ -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.