From: Juergen Borleis <jbe@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 15/19] arch/MPC5xxx: add MPC5125 to the build-system
Date: Tue, 7 Oct 2014 16:22:14 +0200 [thread overview]
Message-ID: <1412691738-11145-16-git-send-email-jbe@pengutronix.de> (raw)
In-Reply-To: <1412691738-11145-1-git-send-email-jbe@pengutronix.de>
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
---
arch/ppc/Makefile | 1 +
arch/ppc/mach-mpc5xxx/Kconfig | 8 ++++++++
arch/ppc/mach-mpc5xxx/Makefile | 6 ++++++
arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h | 2 ++
4 files changed, 17 insertions(+)
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile
index d0dd51e..74ca401 100644
--- a/arch/ppc/Makefile
+++ b/arch/ppc/Makefile
@@ -18,6 +18,7 @@ board-$(CONFIG_P1022DS) := freescale-p1022ds
board-$(CONFIG_DA923RC) := geip-da923rc
machine-$(CONFIG_ARCH_MPC5200) := mpc5xxx
+machine-$(CONFIG_ARCH_MPC512X) := mpc5xxx
machine-$(CONFIG_ARCH_MPC85XX) := mpc85xx
cpu-$(CONFIG_ARCH_MPC85XX) := 85xx
diff --git a/arch/ppc/mach-mpc5xxx/Kconfig b/arch/ppc/mach-mpc5xxx/Kconfig
index 5eebf2a..a65c21d 100644
--- a/arch/ppc/mach-mpc5xxx/Kconfig
+++ b/arch/ppc/mach-mpc5xxx/Kconfig
@@ -28,6 +28,14 @@ config ARCH_MPC5200
bool
select MPC5xxx
+config ARCH_MPC512X
+ bool
+
+config SOC_MPC5125
+ bool
+ select MPC5xxx
+ select ARCH_MPC512X
+
config MPC5xxx
bool
select HAVE_CONFIGURABLE_MEMORY_LAYOUT
diff --git a/arch/ppc/mach-mpc5xxx/Makefile b/arch/ppc/mach-mpc5xxx/Makefile
index c8d503e..0c2d830 100644
--- a/arch/ppc/mach-mpc5xxx/Makefile
+++ b/arch/ppc/mach-mpc5xxx/Makefile
@@ -1,4 +1,10 @@
obj-$(CONFIG_MPC5200) += cpu-mpc5200.o
+obj-$(CONFIG_SOC_MPC5125) += cpu-mpc5125.o
+obj-$(CONFIG_SOC_MPC5125) += speed-mpc5125.o
+obj-$(CONFIG_SOC_MPC5125) += iomux-mpc5125.o
+obj-$(CONFIG_SOC_MPC5125) += sdram-mpc5125.o
+obj-$(CONFIG_SOC_MPC5125) += sys-mpc5125.o
+obj-$(CONFIG_SOC_MPC5125) += lpc-mpc5125.o
obj-$(CONFIG_MPC5200) += cpu_init-mpc5200.o
obj-$(CONFIG_MPC5200) += loadtask.o
obj-$(CONFIG_MPC5200) += speed-mpc5200.o
diff --git a/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h b/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h
index f5f0a75..d7660e5 100644
--- a/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h
+++ b/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h
@@ -3,6 +3,8 @@
#if defined(CONFIG_MPC5200) || defined(CONFIG_MGT5100)
# include <mach/mpc5200.h>
+#elif defined(CONFIG_ARCH_MPC512X)
+# include <mach/mpc512x.h>
#else
# error "Undefined Core CPU"
#endif
--
2.1.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2014-10-07 14:22 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-07 14:21 [RFC] Add PowerPC MPC5125 support Juergen Borleis
2014-10-07 14:22 ` [PATCH 01/19] arch/MPC5xxx: fix linker script for MPC5200 Juergen Borleis
2014-10-07 14:22 ` [PATCH 02/19] arch/MPC5xxx: use a mach specific linker script instead of a board specific one Juergen Borleis
2014-10-07 14:22 ` [PATCH 03/19] arch/MPC5xxx: replace 'depends on' by 'select' Juergen Borleis
2014-10-07 14:22 ` [PATCH 04/19] arch/MPC5xxx: Simplify the calculation Juergen Borleis
2014-10-07 14:22 ` [PATCH 05/19] arch/MPC5xxx: just a format clean up Juergen Borleis
2014-10-07 14:22 ` [PATCH 06/19] arch/MPC5xxx: move away existing files to be able to add a new SoC type Juergen Borleis
2014-10-07 14:22 ` [PATCH 07/19] arch/MPC5xxx: separate architecture's main SoC header file Juergen Borleis
2014-10-07 14:22 ` [PATCH 08/19] arch/MPC5xxx: separate clock functions Juergen Borleis
2014-10-07 14:22 ` [PATCH 09/19] arch/MPC5xxx: just use macros instead of anonymous digits Juergen Borleis
2014-10-07 14:22 ` [PATCH 10/19] MPC5xxx/serial: use dedicated I/O functions instead of memory access Juergen Borleis
2014-10-07 14:22 ` [PATCH 11/19] MPC5xxx/serial: provide an easier way to share register description Juergen Borleis
2014-10-07 14:22 ` [PATCH 12/19] MPC5xxx/serial: use new shared " Juergen Borleis
2014-10-07 14:22 ` [PATCH 13/19] MPC5xxx/serial: re-factor the code to share it between MPC5200/MPC5125 Juergen Borleis
2014-10-07 14:22 ` [PATCH 14/19] arch/MPC5xxx: add MPC5125 SoC support Juergen Borleis
2014-10-07 14:22 ` Juergen Borleis [this message]
2014-10-07 14:22 ` [PATCH 16/19] MPC5xxx/serial: add support for the MPC5125 SoC Juergen Borleis
2014-10-07 14:22 ` [PATCH 17/19] MPC5125/FEC: add another FEC driver " Juergen Borleis
2014-10-07 14:22 ` [PATCH 18/19] MPC5125/WDG: add a watchdog driver Juergen Borleis
2014-10-07 14:22 ` [PATCH 19/19] MPC5125/GPIO: add a generic GPIO driver Juergen Borleis
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=1412691738-11145-16-git-send-email-jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=barebox@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox