summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorRenaud Barbier <renaud.barbier@ge.com>2013-11-05 15:36:12 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2013-11-06 11:04:38 +0100
commit9e1528ce7c81290800d13cc61a3cf1691cac9953 (patch)
tree4de0f2a9d659ac364baf9f5ceae4d9fa4a2a58c5 /arch/ppc
parent8f44af62c5e02d74f360c7d3a47062071a5b885e (diff)
downloadbarebox-9e1528ce7c81290800d13cc61a3cf1691cac9953.tar.gz
barebox-9e1528ce7c81290800d13cc61a3cf1691cac9953.tar.xz
ppc: mpc85xx: build directives
Add the Kconfig and Makefile directives to build barebox for the GEIP DA923RC board. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/Makefile1
-rw-r--r--arch/ppc/mach-mpc85xx/Kconfig32
-rw-r--r--arch/ppc/mach-mpc85xx/Makefile2
3 files changed, 28 insertions, 7 deletions
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile
index f0322a26b4..aa00c96671 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 9af4af49d2..80cb0d9e08 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 dba0550cf0..ce6c77aa06 100644
--- a/arch/ppc/mach-mpc85xx/Makefile
+++ b/arch/ppc/mach-mpc85xx/Makefile
@@ -4,7 +4,9 @@ obj-y += cpu_init.o
obj-y += fsl_law.o
obj-y += speed.o
obj-y +=time.o
+obj-y += fsl_gpio.o
obj-y += fsl_i2c.o
obj-$(CONFIG_MP) += mp.o
obj-$(CONFIG_OFTREE) += fdt.o
obj-$(CONFIG_DRIVER_NET_GIANFAR) += eth-devices.o
+obj-$(CONFIG_DDR_SPD) += ../ddr-8xxx/