summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorRenaud Barbier <renaud.barbier@ge.com>2014-03-13 18:10:04 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2014-03-19 07:43:02 +0100
commit18156665c00ce14a47af1ec80a735098c98bdf4c (patch)
tree3a91d3cd7ad1083859c0d4a24f3554c3cefd321c /arch/ppc
parenta6750920eda7abe33b1cbc737afbdc3e13b707a4 (diff)
downloadbarebox-18156665c00ce14a47af1ec80a735098c98bdf4c.tar.gz
barebox-18156665c00ce14a47af1ec80a735098c98bdf4c.tar.xz
ppc: P1022DS: update Kconfig and Makefile
Kconfig and make files are updated to build the Freescale P1022DS image. 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/Kconfig33
2 files changed, 25 insertions, 9 deletions
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile
index 87be19366b..b9b355aeee 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_P1022DS) := freescale-p1022ds
board-$(CONFIG_DA923RC) := geip-da923rc
machine-$(CONFIG_ARCH_MPC5200) := mpc5xxx
diff --git a/arch/ppc/mach-mpc85xx/Kconfig b/arch/ppc/mach-mpc85xx/Kconfig
index 2d1ca8a9b6..ec5f04ca30 100644
--- a/arch/ppc/mach-mpc85xx/Kconfig
+++ b/arch/ppc/mach-mpc85xx/Kconfig
@@ -1,7 +1,7 @@
if ARCH_MPC85XX
config MMU
- default y if CMD_MEMTEST
+ default y
config BTB
bool
@@ -9,13 +9,13 @@ config BTB
config TEXT_BASE
hex
- default 0xeff80000 if P2020RDB
+ default 0xeff80000 if P2020RDB || P1022DS
default 0xfff80000 if DA923RC
config RESET_VECTOR_ADDRESS
hex
default 0xfffffffc if DA923RC
- default 0xeffffffc if P2020RDB
+ default 0xeffffffc if P2020RDB || P1022DS
config MPC85xx
bool
@@ -37,6 +37,11 @@ config P2020RDB
help
Say Y here if you are using the Freescale P2020RDB
+config P1022DS
+ bool "P1022DS"
+ help
+ Say Y here if you are using the Freescale P1022DS
+
config DA923RC
bool "DA923RC"
help
@@ -44,24 +49,34 @@ config DA923RC
endchoice
endif
+config FSL_ELBC
+ bool
+ default y if P2020RDB || P1022DS
+
+config DDR_SPD
+ bool
+ select CRC16
+ default y if DA923RC || P1022DS
+
if P2020RDB
config P2020
bool
default y
+endif
-config FSL_ELBC
+if P1022DS
+config P1022
bool
default y
-endif
-if DA923RC
-config MPC8544
+config FSL_DDR3
bool
default y
+endif
-config DDR_SPD
+if DA923RC
+config MPC8544
bool
- select CRC16
default y
config FSL_DDR2