[PATCH v1 1/4] riscv: select peripheral drivers for polarfire soc

From: Conor Dooley
Date: Fri Apr 15 2022 - 08:54:14 EST


Update the SOC_MICROCHIP_POLARFIRE kconfig entry to select, where
applicable, the supported drivers for the SoC.

Signed-off-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
---
arch/riscv/Kconfig.socs | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 34592d00dde8..7f93c729d51c 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -3,6 +3,10 @@ menu "SoC selection"
config SOC_MICROCHIP_POLARFIRE
bool "Microchip PolarFire SoCs"
select MCHP_CLK_MPFS
+ select POLARFIRE_SOC_MAILBOX if MAILBOX
+ select POLARFIRE_SOC_SYS_CTRL if MAILBOX
+ select HW_RANDOM_POLARFIRE_SOC if POLARFIRE_SOC_SYS_CTRL
+ select PCIE_MICROCHIP_HOST if PCI_MSI && OF
select SIFIVE_PLIC
help
This enables support for Microchip PolarFire SoC platforms.
--
2.35.2