diff options
author | John Crispin <blogic@openwrt.org> | 2016-01-04 22:23:55 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-01-20 02:39:20 +0300 |
commit | 1df7addb9671ace5fbae4daa45b0755cebefb1dc (patch) | |
tree | 9d89a771cc553f809520e8896f841e5e568f478c /arch/mips/ralink/Makefile | |
parent | 2761f83cad764f2b13ca3d7fb2f3fb5bedae1cd3 (diff) | |
download | linux-1df7addb9671ace5fbae4daa45b0755cebefb1dc.tar.xz |
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/Makefile')
-rw-r--r-- | arch/mips/ralink/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile index 06c315f70a21..0d1795a0321e 100644 --- a/arch/mips/ralink/Makefile +++ b/arch/mips/ralink/Makefile @@ -6,18 +6,24 @@ # Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org> # Copyright (C) 2013 John Crispin <blogic@openwrt.org> -obj-y := prom.o of.o reset.o clk.o irq.o timer.o +obj-y := prom.o of.o reset.o + +ifndef CONFIG_MIPS_GIC + obj-y += clk.o timer.o +endif obj-$(CONFIG_CLKEVT_RT3352) += cevt-rt3352.o obj-$(CONFIG_RALINK_ILL_ACC) += ill_acc.o obj-$(CONFIG_IRQ_INTC) += irq.o +obj-$(CONFIG_MIPS_GIC) += irq-gic.o timer-gic.o obj-$(CONFIG_SOC_RT288X) += rt288x.o obj-$(CONFIG_SOC_RT305X) += rt305x.o obj-$(CONFIG_SOC_RT3883) += rt3883.o obj-$(CONFIG_SOC_MT7620) += mt7620.o +obj-$(CONFIG_SOC_MT7621) += mt7621.o obj-$(CONFIG_EARLY_PRINTK) += early_printk.o |