summaryrefslogtreecommitdiff
path: root/arch/mips/ralink/Kconfig
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-01-04 20:23:55 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-01-20 00:39:20 +0100
commit1df7addb9671ace5fbae4daa45b0755cebefb1dc (patch)
tree9d89a771cc553f809520e8896f841e5e568f478c /arch/mips/ralink/Kconfig
parent2761f83cad764f2b13ca3d7fb2f3fb5bedae1cd3 (diff)
MIPS: ralink: add MT7621 support
MT7621 is based on a 1004k core. This patch adds support for the SoC. The timer and IRQ is just boiler plate as GIC has recently been moved to generic places in the kernel and just works. Signed-off-by: John Crispin <blogic@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/11990/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ralink/Kconfig')
-rw-r--r--arch/mips/ralink/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig
index c578c5d9d0f4..016d26e3475a 100644
--- a/arch/mips/ralink/Kconfig
+++ b/arch/mips/ralink/Kconfig
@@ -15,6 +15,7 @@ config RALINK_ILL_ACC
config IRQ_INTC
bool
default y
+ depends on !SOC_MT7621
choice
prompt "Ralink SoC selection"
@@ -38,6 +39,16 @@ choice
config SOC_MT7620
bool "MT7620/8"
+ config SOC_MT7621
+ bool "MT7621"
+ select MIPS_CPU_SCACHE
+ select SYS_SUPPORTS_MULTITHREADING
+ select SYS_SUPPORTS_SMP
+ select SYS_SUPPORTS_MIPS_CPS
+ select MIPS_GIC
+ select COMMON_CLK
+ select CLKSRC_MIPS_GIC
+ select HW_HAS_PCI
endchoice
choice