[PATCH 02/12] RISC-V: add Nuclei SoC Kconfig option

From: Icenowy Zheng
Date: Thu Jan 27 2022 - 10:17:05 EST


As a CPU core vendor, Nuclei has some "DemoSoCs" that uses Nuclei CPU
cores and modified peripherals from Hummingbird E203.

Add a Kconfig option for this.

Signed-off-by: Icenowy Zheng <icenowy@xxxxxxxxxxxxx>
---
arch/riscv/Kconfig.socs | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 6ec44a22278a..e4488ac8c72b 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -7,6 +7,12 @@ config SOC_MICROCHIP_POLARFIRE
help
This enables support for Microchip PolarFire SoC platforms.

+config SOC_NUCLEI
+ bool "Nuclei SoCs"
+ select SIFIVE_PLIC
+ help
+ This enables support for Nuclei SoC platform hardware.
+
config SOC_SIFIVE
bool "SiFive SoCs"
select SERIAL_SIFIVE if TTY
--
2.30.2