mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Renaud Barbier <renaud.barbier@ge.com>
To: barebox@lists.infradead.org
Subject: [PATCH 8/9] Update (ppc) Makefile and Kconfig.
Date: Tue, 24 Jan 2012 12:34:02 +0000	[thread overview]
Message-ID: <1327408443-3519-9-git-send-email-renaud.barbier@ge.com> (raw)
In-Reply-To: <1327408443-3519-1-git-send-email-renaud.barbier@ge.com>

* Compile the mpc8xxx/mpc85xx architecture.
* Compile the p1_p2 Freescale platform code if selected.

Signed-off-by: Renaud Barbier <renaud.barbier@ge.com>
---
 arch/ppc/Kconfig  |    1 +
 arch/ppc/Makefile |   10 ++++++++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig
index ea38af6..e0934f4 100644
--- a/arch/ppc/Kconfig
+++ b/arch/ppc/Kconfig
@@ -25,6 +25,7 @@ endchoice
 endmenu
 
 source arch/ppc/mach-mpc5xxx/Kconfig
+source arch/ppc/mach-mpc8xxx/Kconfig
 source common/Kconfig
 source commands/Kconfig
 source net/Kconfig
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile
index c7bf863..8d4a3a4 100644
--- a/arch/ppc/Makefile
+++ b/arch/ppc/Makefile
@@ -8,9 +8,19 @@ CPPFLAGS += -fPIC -mrelocatable
 endif
 
 
+#may need a better ifdef option for spe and e500
+ifdef CONFIG_MPC85xx
+CPPFLAGS += -Wa,-me500 -msoft-float -mno-string -mspe=yes -mno-spe
+endif
+
 machine-$(CONFIG_ARCH_MPC5200)			:= mpc5200
+
 board-$(CONFIG_MACH_PHYCORE_MPC5200B_TINY)	:= pcm030
+
+board-$(CONFIG_P1_P2_RDB) := freescale/p1_p2_rdb
+
 cpu-$(CONFIG_ARCH_MPC5200)			:= mpc5xxx
+cpu-$(CONFIG_ARCH_MPC8XXX)			:= mpc8xxx
 
 TEXT_BASE = $(CONFIG_TEXT_BASE)
 
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2012-01-24 12:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24 12:33 [PATCH 0/9] MPC8xxx support Renaud Barbier
2012-01-24 12:33 ` [PATCH 1/9] Preparation stage to support multiple PPC architectures Renaud Barbier
2012-01-25 17:33   ` Sascha Hauer
2012-01-24 12:33 ` [PATCH 2/9] Define clock source shift and mask Renaud Barbier
2012-01-25 17:36   ` Sascha Hauer
2012-01-24 12:33 ` [PATCH 3/9] Added support for the mpc8xxx architecture Renaud Barbier
2012-01-24 12:33 ` [PATCH 4/9] Header files added to support " Renaud Barbier
2012-01-24 12:33 ` [PATCH 5/9] Update to existing header files Renaud Barbier
2012-01-24 12:34 ` [PATCH 6/9] Add file and compilation of strmhz Renaud Barbier
2012-01-24 12:34 ` [PATCH 7/9] Add-ons to the PPC library to support the mpc8xxx Renaud Barbier
2012-01-24 12:34 ` Renaud Barbier [this message]
2012-01-24 12:34 ` [PATCH 9/9] P1_P2 platform support code and configuratin file for the P2020RDB Renaud Barbier
2012-01-25 19:33 ` [PATCH 0/9] MPC8xxx support Sascha Hauer

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=1327408443-3519-9-git-send-email-renaud.barbier@ge.com \
    --to=renaud.barbier@ge.com \
    --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