Commit 987a3e03 authored by Huacai Chen's avatar Huacai Chen

irqchip: Adjust Kconfig for Loongson

HTVEC will be shared by both MIPS-based and LoongArch-based Loongson
processors (not only Loongson-3), so we adjust its description. HTPIC is
only used by MIPS-based Loongson, so we add a MIPS dependency.
Acked-by: default avatarMarc Zyngier <maz@kernel.org>
Reviewed-by: default avatarWANG Xuerui <git@xen0n.name>
Reviewed-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 50fd82b3
...@@ -557,7 +557,7 @@ config LOONGSON_LIOINTC ...@@ -557,7 +557,7 @@ config LOONGSON_LIOINTC
config LOONGSON_HTPIC config LOONGSON_HTPIC
bool "Loongson3 HyperTransport PIC Controller" bool "Loongson3 HyperTransport PIC Controller"
depends on MACH_LOONGSON64 depends on MACH_LOONGSON64 && MIPS
default y default y
select IRQ_DOMAIN select IRQ_DOMAIN
select GENERIC_IRQ_CHIP select GENERIC_IRQ_CHIP
...@@ -565,12 +565,12 @@ config LOONGSON_HTPIC ...@@ -565,12 +565,12 @@ config LOONGSON_HTPIC
Support for the Loongson-3 HyperTransport PIC Controller. Support for the Loongson-3 HyperTransport PIC Controller.
config LOONGSON_HTVEC config LOONGSON_HTVEC
bool "Loongson3 HyperTransport Interrupt Vector Controller" bool "Loongson HyperTransport Interrupt Vector Controller"
depends on MACH_LOONGSON64 depends on MACH_LOONGSON64
default MACH_LOONGSON64 default MACH_LOONGSON64
select IRQ_DOMAIN_HIERARCHY select IRQ_DOMAIN_HIERARCHY
help help
Support for the Loongson3 HyperTransport Interrupt Vector Controller. Support for the Loongson HyperTransport Interrupt Vector Controller.
config LOONGSON_PCH_PIC config LOONGSON_PCH_PIC
bool "Loongson PCH PIC Controller" bool "Loongson PCH PIC Controller"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment