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>
此提交包含在:
Lars-Peter Clausen
2010-06-19 04:08:19 +00:00
提交者 Ralf Baechle
父節點 c2a529f73d
當前提交 5ebabe5980
共有 5 個檔案被更改,包括 43 行新增0 行删除

8
arch/mips/jz4740/Kconfig 一般檔案
查看文件

@@ -0,0 +1,8 @@
choice
prompt "Machine type"
depends on MACH_JZ4740
endchoice
config HAVE_PWM
bool

18
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

3
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