diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-06-19 04:08:19 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 13:26:17 +0100 |
commit | 5ebabe59807e116976b073ec43327eedb4b357e2 (patch) | |
tree | a8773d04073b88a3e5c43ddd9a133c090f250f0d /arch/mips/jz4740 | |
parent | c2a529f73de56cb99ae9abcc2c8fb9fe3f2d2039 (diff) | |
download | linux-5ebabe59807e116976b073ec43327eedb4b357e2.tar.bz2 |
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>
Diffstat (limited to 'arch/mips/jz4740')
-rw-r--r-- | arch/mips/jz4740/Kconfig | 8 | ||||
-rw-r--r-- | arch/mips/jz4740/Makefile | 18 | ||||
-rw-r--r-- | arch/mips/jz4740/Platform | 3 |
3 files changed, 29 insertions, 0 deletions
diff --git a/arch/mips/jz4740/Kconfig b/arch/mips/jz4740/Kconfig new file mode 100644 index 000000000000..8a5e8505eb12 --- /dev/null +++ b/arch/mips/jz4740/Kconfig @@ -0,0 +1,8 @@ +choice + prompt "Machine type" + depends on MACH_JZ4740 + +endchoice + +config HAVE_PWM + bool diff --git a/arch/mips/jz4740/Makefile b/arch/mips/jz4740/Makefile new file mode 100644 index 000000000000..a803ccb0cf6d --- /dev/null +++ b/arch/mips/jz4740/Makefile @@ -0,0 +1,18 @@ +# +# Makefile for the Ingenic JZ4740. +# + +# Object file lists. + +obj-y += prom.o irq.o time.o reset.o setup.o dma.o \ + gpio.o clock.o platform.o timer.o pwm.o serial.o + +obj-$(CONFIG_DEBUG_FS) += clock-debugfs.o + +# board specific support + +# PM support + +obj-$(CONFIG_PM) += pm.o + +EXTRA_CFLAGS += -Werror -Wall diff --git a/arch/mips/jz4740/Platform b/arch/mips/jz4740/Platform new file mode 100644 index 000000000000..6a97230e3d05 --- /dev/null +++ b/arch/mips/jz4740/Platform @@ -0,0 +1,3 @@ +core-$(CONFIG_MACH_JZ4740) += arch/mips/jz4740/ +cflags-$(CONFIG_MACH_JZ4740) += -I$(srctree)/arch/mips/include/asm/mach-jz4740 +load-$(CONFIG_MACH_JZ4740) += 0xffffffff80010000 |