summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-01-23 14:22:14 -0600
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2009-01-23 17:09:18 -0600
commit18af1c5f0f7402dc0d6a71b012c68025dd97cf72 (patch)
treedc81105490dd7d6572f2fbbb2cb58c4521f8ee24 /Makefile
parentc51fc5d53c4560abc4d0a6126c06fc68133d1528 (diff)
downloadu-boot-imx-18af1c5f0f7402dc0d6a71b012c68025dd97cf72.zip
u-boot-imx-18af1c5f0f7402dc0d6a71b012c68025dd97cf72.tar.gz
u-boot-imx-18af1c5f0f7402dc0d6a71b012c68025dd97cf72.tar.bz2
85xx: Add a 36-bit physical configuration for MPC8572DS
We move all IO addressed (CCSR, localbus, PCI) above the 4G boundary to allow for larger memory sizes. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5cc950d..ad79a2a 100644
--- a/Makefile
+++ b/Makefile
@@ -2398,8 +2398,14 @@ MPC8555CDS_config: unconfig
MPC8568MDS_config: unconfig
@$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds freescale
+MPC8572DS_36BIT_config \
MPC8572DS_config: unconfig
- @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8572ds freescale
+ @mkdir -p $(obj)include
+ @if [ "$(findstring _36BIT_,$@)" ] ; then \
+ echo "#define CONFIG_PHYS_64BIT" >>$(obj)include/config.h ; \
+ $(XECHO) "... enabling 36-bit physical addressing." ; \
+ fi
+ @$(MKCONFIG) -a MPC8572DS ppc mpc85xx mpc8572ds freescale
PM854_config: unconfig
@$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854