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

From: Palmer Dabbelt
Date: Wed Jun 19 2019 - 03:09:30 EST


On Mon, 17 Jun 2019 12:29:49 PDT (-0700), lollivier@xxxxxxxxxxxx wrote:
On selection of SOC_SIFIVE select the corresponding platform drivers.

Signed-off-by: Loys Ollivier <lollivier@xxxxxxxxxxxx>
---
arch/riscv/Kconfig.socs | 5 +++++
1 file changed, 5 insertions(+)

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.

Reviewed-by: Palmer Dabbelt <palmer@xxxxxxxxxx>