diff mbox series

[2/3] riscv: select SiFive platform drivers with SOC_SIFIVE

Message ID 1560799790-20287-3-git-send-email-lollivier@baylibre.com
State New
Headers show
Series riscv: add SOC_SIFIVE config for SiFive specific resource | expand

Commit Message

Loys Ollivier June 17, 2019, 7:29 p.m. UTC
On selection of SOC_SIFIVE select the corresponding platform drivers.

Signed-off-by: Loys Ollivier <lollivier@baylibre.com>

---
 arch/riscv/Kconfig.socs | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.7.4
diff mbox series

Patch

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.