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 5/5] ppc: mpc85xx: build directives
Date: Wed, 30 Oct 2013 10:22:51 +0000	[thread overview]
Message-ID: <1383128571-8250-6-git-send-email-renaud.barbier@ge.com> (raw)
In-Reply-To: <1383128571-8250-1-git-send-email-renaud.barbier@ge.com>

Add the Kconfig and Makefile directives to build barebox
for the GEIP DA923RC board.

Signed-off-by: Renaud Barbier <renaud.barbier@ge.com>
---
 arch/ppc/Makefile              |    1 +
 arch/ppc/mach-mpc85xx/Kconfig  |   32 +++++++++++++++++++++++++-------
 arch/ppc/mach-mpc85xx/Makefile |    1 +
 3 files changed, 27 insertions(+), 7 deletions(-)

diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile
index f0322a2..aa00c96 100644
--- a/arch/ppc/Makefile
+++ b/arch/ppc/Makefile
@@ -13,6 +13,7 @@ endif
 
 board-$(CONFIG_MACH_PHYCORE_MPC5200B_TINY)	:= pcm030
 board-$(CONFIG_P2020RDB)			:= freescale-p2020rdb
+board-$(CONFIG_DA923RC)				:= geip-da923rc
 
 machine-$(CONFIG_ARCH_MPC5200)			:= mpc5xxx
 machine-$(CONFIG_ARCH_MPC85XX)			:= mpc85xx
diff --git a/arch/ppc/mach-mpc85xx/Kconfig b/arch/ppc/mach-mpc85xx/Kconfig
index 9af4af4..80cb0d9 100644
--- a/arch/ppc/mach-mpc85xx/Kconfig
+++ b/arch/ppc/mach-mpc85xx/Kconfig
@@ -3,10 +3,19 @@ if ARCH_MPC85XX
 config TEXT_BASE
 	hex
 	default 0xeff80000 if P2020RDB
+	default 0xfff80000 if DA923RC
 
 config MPC85xx
 	bool
-	default y if P2020RDB
+	default y
+
+config BOOKE
+	bool
+	default y
+
+config E500
+	bool
+	default y
 
 choice
 	prompt "Select your board"
@@ -16,8 +25,11 @@ config P2020RDB
 	help
 	  Say Y here if you are using the Freescale P2020RDB
 
+config DA923RC
+	bool "DA923RC"
+	help
+	Say Y here if you are using the GE Intelligent Platforms DA923RC
 endchoice
-
 endif
 
 if P2020RDB
@@ -25,15 +37,21 @@ config P2020
 	bool
 	default y
 
-config BOOKE
+config FSL_ELBC
 	bool
 	default y
+endif
 
-config E500
+if DA923RC
+config MPC8544
 	bool
 	default y
 
-config FSL_ELBC
-	bool
-	default y
+config DDR_SPD
+    bool
+    default y
+
+config FSL_DDR2
+    bool
+    default y
 endif
diff --git a/arch/ppc/mach-mpc85xx/Makefile b/arch/ppc/mach-mpc85xx/Makefile
index b484d40..2051b57 100644
--- a/arch/ppc/mach-mpc85xx/Makefile
+++ b/arch/ppc/mach-mpc85xx/Makefile
@@ -8,3 +8,4 @@ obj-$(CONFIG_MP)	+= mp.o
 obj-$(CONFIG_OFTREE)	+= fdt.o
 obj-$(CONFIG_I2C_IMX)	+= fsl_i2c.o
 obj-$(CONFIG_DRIVER_NET_GIANFAR) += eth-devices.o
+obj-$(CONFIG_DDR_SPD)	+= ../ddr-8xxx/
-- 
1.7.1


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

  parent reply	other threads:[~2013-10-30 10:23 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-30 10:22 [PATCH v2 0/5] GEIP DA923RC board support Renaud Barbier
2013-10-30 10:22 ` [PATCH 1/5] ppc: mpc85xx: mpc8544 support Renaud Barbier
2013-10-30 10:22 ` [PATCH 2/5] ppc: mpc85xx: define Ethernet port count Renaud Barbier
2013-10-30 10:22 ` [PATCH 3/5] ppc: mpc85xx: enable DDR driver Renaud Barbier
2013-10-30 10:22 ` [PATCH 4/5] ppc: DA923RC: add board support Renaud Barbier
2013-10-30 11:34   ` Jean-Christophe PLAGNIOL-VILLARD
2013-10-31  7:48     ` Sascha Hauer
2013-10-31 13:15       ` Renaud Barbier
2013-10-31 20:10       ` Renaud Barbier
2013-11-01 11:58         ` Sascha Hauer
2013-11-01 12:56           ` Renaud Barbier
2013-11-01 13:02             ` Renaud Barbier
2013-11-01 15:03               ` Renaud Barbier
2013-11-01 20:28                 ` Sascha Hauer
2013-11-04 18:06                   ` Renaud Barbier
2013-11-05  7:35                     ` Sascha Hauer
2013-10-31 14:41     ` Renaud Barbier
2013-10-31 16:01       ` Jean-Christophe PLAGNIOL-VILLARD
2013-10-31 18:59         ` Renaud Barbier
2013-10-30 10:22 ` Renaud Barbier [this message]
2013-11-05 15:36 [PATCH v3 0/5] GEIP DA923RC " Renaud Barbier
2013-11-05 15:36 ` [PATCH 5/5] ppc: mpc85xx: build directives Renaud Barbier

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=1383128571-8250-6-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