riscv: Add the T-HEAD SoC family Kconfig option
authorJisheng Zhang <jszhang@kernel.org>
Sat, 17 Jun 2023 16:15:25 +0000 (00:15 +0800)
committerConor Dooley <conor.dooley@microchip.com>
Sat, 17 Jun 2023 18:04:08 +0000 (19:04 +0100)
The first SoC in the T-HEAD series is TH1520, containing quad T-HEAD
C910 cores.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/Kconfig.socs

index 1cf69f958f1042dd22b8e1cd49939ab35435dd26..ce10a38dff3768234c7f5ab6ba4ed13e5f5f1042 100644 (file)
@@ -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