Commit 5ebabe59807e116976b073ec43327eedb4b357e2
Committed by
Ralf Baechle
1 parent
c2a529f73d
Exists in
master
and in
7 other branches
MIPS: JZ4740: Add Kbuild files
Add the Kbuild files for the JZ4740 architecture and adds JZ4740 support to the MIPS Kbuild files. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/1406/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Showing 5 changed files with 43 additions and 0 deletions Side-by-side Diff
arch/mips/Kbuild.platforms
arch/mips/Kconfig
... | ... | @@ -172,6 +172,18 @@ |
172 | 172 | Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and |
173 | 173 | Olivetti M700-10 workstations. |
174 | 174 | |
175 | +config MACH_JZ4740 | |
176 | + bool "Ingenic JZ4740 based machines" | |
177 | + select SYS_HAS_CPU_MIPS32_R1 | |
178 | + select SYS_SUPPORTS_32BIT_KERNEL | |
179 | + select SYS_SUPPORTS_LITTLE_ENDIAN | |
180 | + select DMA_NONCOHERENT | |
181 | + select IRQ_CPU | |
182 | + select GENERIC_GPIO | |
183 | + select ARCH_REQUIRE_GPIOLIB | |
184 | + select SYS_HAS_EARLY_PRINTK | |
185 | + select HAVE_PWM | |
186 | + | |
175 | 187 | config LASAT |
176 | 188 | bool "LASAT Networks platforms" |
177 | 189 | select CEVT_R4K |
... | ... | @@ -696,6 +708,7 @@ |
696 | 708 | source "arch/mips/alchemy/Kconfig" |
697 | 709 | source "arch/mips/bcm63xx/Kconfig" |
698 | 710 | source "arch/mips/jazz/Kconfig" |
711 | +source "arch/mips/jz4740/Kconfig" | |
699 | 712 | source "arch/mips/lasat/Kconfig" |
700 | 713 | source "arch/mips/pmc-sierra/Kconfig" |
701 | 714 | source "arch/mips/powertv/Kconfig" |
arch/mips/jz4740/Kconfig
arch/mips/jz4740/Makefile
1 | +# | |
2 | +# Makefile for the Ingenic JZ4740. | |
3 | +# | |
4 | + | |
5 | +# Object file lists. | |
6 | + | |
7 | +obj-y += prom.o irq.o time.o reset.o setup.o dma.o \ | |
8 | + gpio.o clock.o platform.o timer.o pwm.o serial.o | |
9 | + | |
10 | +obj-$(CONFIG_DEBUG_FS) += clock-debugfs.o | |
11 | + | |
12 | +# board specific support | |
13 | + | |
14 | +# PM support | |
15 | + | |
16 | +obj-$(CONFIG_PM) += pm.o | |
17 | + | |
18 | +EXTRA_CFLAGS += -Werror -Wall |
arch/mips/jz4740/Platform