summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-02-05 20:40:58 -0600
committerWolfgang Denk <wd@denx.de>2009-02-10 00:44:13 +0100
commit87c9063963561d3d01064be34d0c30855a56587b (patch)
treec63493e36e7c76cfd7b006385a839ec9f77aa606 /cpu/ppc4xx
parent47d41cc3a11a03c6d56146d056145df73f47eb50 (diff)
downloadu-boot-imx-87c9063963561d3d01064be34d0c30855a56587b.zip
u-boot-imx-87c9063963561d3d01064be34d0c30855a56587b.tar.gz
u-boot-imx-87c9063963561d3d01064be34d0c30855a56587b.tar.bz2
ppc: Move CONFIG_MAX_MEM_MAPPED to common config.h
Moved CONFIG_MAX_MEM_MAPPED to the asm/config.h so its kept consistent between the two current users (lib_ppc/board.c, 44x SPD DDR2). Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx')
-rw-r--r--cpu/ppc4xx/44x_spd_ddr2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cpu/ppc4xx/44x_spd_ddr2.c b/cpu/ppc4xx/44x_spd_ddr2.c
index b40e4b1..1e49571 100644
--- a/cpu/ppc4xx/44x_spd_ddr2.c
+++ b/cpu/ppc4xx/44x_spd_ddr2.c
@@ -160,9 +160,6 @@
* SDRAM. This is because we only map the first 2GB on such systems, and therefore
* the ECC parity byte of the remaining area can't be written.
*/
-#ifndef CONFIG_MAX_MEM_MAPPED
-#define CONFIG_MAX_MEM_MAPPED ((phys_size_t)2 << 30)
-#endif
/*
* Board-specific Platform code can reimplement spd_ddr_init_hang () if needed