From: Jisheng Zhang Date: Sat, 17 Jun 2023 16:15:25 +0000 (+0800) Subject: riscv: Add the T-HEAD SoC family Kconfig option X-Git-Tag: v6.5-rc1~142^2~3^2~1^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=da47ce0039632d2e82ee70a86079d7a8b4c92103;p=thirdparty%2Fkernel%2Flinux.git riscv: Add the T-HEAD SoC family Kconfig option The first SoC in the T-HEAD series is TH1520, containing quad T-HEAD C910 cores. Signed-off-by: Jisheng Zhang Reviewed-by: Conor Dooley Signed-off-by: Conor Dooley --- diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index 1cf69f958f104..ce10a38dff376 100644 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -41,6 +41,12 @@ config ARCH_SUNXI This enables support for Allwinner sun20i platform hardware, including boards based on the D1 and D1s SoCs. +config ARCH_THEAD + bool "T-HEAD RISC-V SoCs" + select ERRATA_THEAD + help + This enables support for the RISC-V based T-HEAD SoCs. + config ARCH_VIRT def_bool SOC_VIRT