9
0
Fork 0

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>
This commit is contained in:
Renaud Barbier 2013-11-05 15:36:12 +00:00 committed by Sascha Hauer
parent 8f44af62c5
commit 9e1528ce7c
3 changed files with 38 additions and 17 deletions

View File

@ -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

View File

@ -3,25 +3,9 @@ if ARCH_MPC85XX
config TEXT_BASE
hex
default 0xeff80000 if P2020RDB
default 0xfff80000 if DA923RC
config MPC85xx
bool
default y if P2020RDB
choice
prompt "Select your board"
config P2020RDB
bool "P2020RDB"
help
Say Y here if you are using the Freescale P2020RDB
endchoice
endif
if P2020RDB
config P2020
bool
default y
@ -33,7 +17,41 @@ config E500
bool
default y
choice
prompt "Select your board"
config P2020RDB
bool "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
config P2020
bool
default y
config FSL_ELBC
bool
default y
endif
if DA923RC
config MPC8544
bool
default y
config DDR_SPD
bool
default y
config FSL_DDR2
bool
default y
endif

View File

@ -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/