From: Antony Pavlov <antonynpavlov@gmail.com>
To: linux-mips@linux-mips.org
Cc: Ralf Baechle <ralf@linux-mips.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Maarten ter Huurne <maarten@treewalker.org>,
Antony Pavlov <antonynpavlov@gmail.com>
Subject: [RFC 11/13] MIPS: JZ4750D: Add Kbuild files
Date: Tue, 23 Oct 2012 21:43:59 +0400 [thread overview]
Message-ID: <1351014241-3207-12-git-send-email-antonynpavlov@gmail.com> (raw)
In-Reply-To: <1351014241-3207-1-git-send-email-antonynpavlov@gmail.com>
Add the Kbuild files for the JZ4750D architecture and adds JZ4750D support
to the MIPS Kbuild files.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/mips/Kbuild.platforms | 1 +
arch/mips/Kconfig | 11 +++++++++++
arch/mips/jz4750d/Kconfig | 5 +++++
arch/mips/jz4750d/Makefile | 10 ++++++++++
arch/mips/jz4750d/Platform | 3 +++
5 files changed, 30 insertions(+)
create mode 100644 arch/mips/jz4750d/Kconfig
create mode 100644 arch/mips/jz4750d/Makefile
create mode 100644 arch/mips/jz4750d/Platform
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms
index d64786d..e7d70fe 100644
--- a/arch/mips/Kbuild.platforms
+++ b/arch/mips/Kbuild.platforms
@@ -11,6 +11,7 @@ platforms += dec
platforms += emma
platforms += jazz
platforms += jz4740
+platforms += jz4750d
platforms += lantiq
platforms += lasat
platforms += loongson
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index faf6528..9f35486 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -224,6 +224,16 @@ config MACH_JZ4740
select HAVE_CLK
select GENERIC_IRQ_CHIP
+config MACH_JZ4750D
+ bool "Ingenic JZ4750D based machines"
+ select SYS_HAS_CPU_MIPS32_R1
+ select SYS_SUPPORTS_32BIT_KERNEL
+ select SYS_SUPPORTS_LITTLE_ENDIAN
+ select DMA_NONCOHERENT
+ select IRQ_CPU
+ select SYS_HAS_EARLY_PRINTK
+ select HAVE_CLK
+
config LANTIQ
bool "Lantiq based platforms"
select DMA_NONCOHERENT
@@ -843,6 +853,7 @@ source "arch/mips/bcm47xx/Kconfig"
source "arch/mips/bcm63xx/Kconfig"
source "arch/mips/jazz/Kconfig"
source "arch/mips/jz4740/Kconfig"
+source "arch/mips/jz4750d/Kconfig"
source "arch/mips/lantiq/Kconfig"
source "arch/mips/lasat/Kconfig"
source "arch/mips/pmc-sierra/Kconfig"
diff --git a/arch/mips/jz4750d/Kconfig b/arch/mips/jz4750d/Kconfig
new file mode 100644
index 0000000..388eea4
--- /dev/null
+++ b/arch/mips/jz4750d/Kconfig
@@ -0,0 +1,5 @@
+choice
+ prompt "Machine type"
+ depends on MACH_JZ4750D
+
+endchoice
diff --git a/arch/mips/jz4750d/Makefile b/arch/mips/jz4750d/Makefile
new file mode 100644
index 0000000..0ecfbd4
--- /dev/null
+++ b/arch/mips/jz4750d/Makefile
@@ -0,0 +1,10 @@
+#
+# Makefile for the Ingenic JZ4750D.
+#
+
+# Object file lists.
+
+obj-y += prom.o irq.o time.o reset.o setup.o
+obj-y += clock.o platform.o timer.o serial.o
+
+obj-$(CONFIG_DEBUG_FS) += clock-debugfs.o
diff --git a/arch/mips/jz4750d/Platform b/arch/mips/jz4750d/Platform
new file mode 100644
index 0000000..2e4e050
--- /dev/null
+++ b/arch/mips/jz4750d/Platform
@@ -0,0 +1,3 @@
+platform-$(CONFIG_MACH_JZ4750D) += jz4750d/
+cflags-$(CONFIG_MACH_JZ4750D) += -I$(srctree)/arch/mips/include/asm/mach-jz4750d
+load-$(CONFIG_MACH_JZ4750D) += 0xffffffff80010000
--
1.7.10.4
next prev parent reply other threads:[~2012-10-23 17:51 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-23 17:43 [RFC 00/13] MIPS: JZ4750D: Add base support for Ingenic JZ4750D SOC Antony Pavlov
2012-10-23 17:43 ` [RFC 01/13] MIPS: JZ4750D: Add base support for Ingenic JZ4750D System-on-a-Chip Antony Pavlov
2012-10-23 17:43 ` [RFC 02/13] MIPS: JZ4750D: Add clock API support Antony Pavlov
2012-10-23 17:43 ` [RFC 03/13] MIPS: JZ4750D: Add IRQ handler code Antony Pavlov
2012-10-23 17:43 ` [RFC 04/13] MIPS: JZ4750D: Add timer support Antony Pavlov
2012-10-23 17:43 ` [RFC 05/13] MIPS: JZ4750D: Add clocksource/clockevent support Antony Pavlov
2012-10-23 17:43 ` [RFC 06/13] MIPS: JZ4750D: Add system reset support Antony Pavlov
2012-10-23 17:43 ` [RFC 07/13] MIPS: JZ4750D: Add setup code Antony Pavlov
2012-10-23 17:43 ` [RFC 08/13] MIPS: JZ4750D: Add serial support Antony Pavlov
2012-10-23 17:43 ` [RFC 09/13] MIPS: JZ4750D: Add prom support Antony Pavlov
2012-10-23 17:43 ` [RFC 10/13] MIPS: JZ4750D: Add platform UART devices Antony Pavlov
2012-10-23 17:43 ` Antony Pavlov [this message]
2012-10-24 16:16 ` [RFC 11/13] MIPS: JZ4750D: Add Kbuild files Maarten ter Huurne
2012-10-24 16:56 ` Ralf Baechle
2012-10-24 17:18 ` Antony Pavlov
2012-10-24 17:43 ` Florian Fainelli
2012-10-24 18:15 ` Maarten ter Huurne
2012-10-23 17:44 ` [RFC 12/13] MIPS: JZ4750D: Add rzx50 board support Antony Pavlov
2012-10-23 17:44 ` [RFC 13/13] MIPS: rzx50: Add defconfig file Antony Pavlov
2012-10-23 18:15 ` [RFC 00/13] MIPS: JZ4750D: Add base support for Ingenic JZ4750D SOC Lars-Peter Clausen
2012-10-23 19:57 ` Steven J. Hill
2012-10-24 8:25 ` Lars-Peter Clausen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1351014241-3207-12-git-send-email-antonynpavlov@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=lars@metafoo.de \
--cc=linux-mips@linux-mips.org \
--cc=maarten@treewalker.org \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.