summaryrefslogtreecommitdiff
path: root/include/asm-ppc
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-02-11 09:37:12 +0100
committerStefan Roese <sr@denx.de>2009-02-12 06:08:07 +0100
commit2ede879fcb67470524847bb4fc8972651bb46184 (patch)
treebeb7bd42a7ed1314ab155b2d15499adb4dda8085 /include/asm-ppc
parentf15c6515fc23f83c51f3de272ca23d86b80e81b1 (diff)
downloadu-boot-imx-2ede879fcb67470524847bb4fc8972651bb46184.zip
u-boot-imx-2ede879fcb67470524847bb4fc8972651bb46184.tar.gz
u-boot-imx-2ede879fcb67470524847bb4fc8972651bb46184.tar.bz2
ppc4xx: Fix problem with CONFIG_MAX_MEM_MAPPED in include/asm-ppc/config.h
CONFIG_SDRAM_PPC4xx_IBM_DDR2 is not set when include/asm-ppc/config.h is included. So for katmai, CONFIG_MAX_MEM_MAPPED will get set to 256MB. It makes perfect sense to set CONFIG_MAX_MEM_MAPPED to 2GB for all PPC4xx boards right now. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r--include/asm-ppc/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-ppc/config.h b/include/asm-ppc/config.h
index 6d27cb1..2a4ee15 100644
--- a/include/asm-ppc/config.h
+++ b/include/asm-ppc/config.h
@@ -22,10 +22,10 @@
#define _ASM_CONFIG_H_
#ifndef CONFIG_MAX_MEM_MAPPED
-#if defined(CONFIG_SDRAM_PPC4xx_IBM_DDR2) && defined(CONFIG_SPD_EEPROM)
+#if defined(CONFIG_4xx)
#define CONFIG_MAX_MEM_MAPPED ((phys_size_t)2 << 30)
#else
-#define CONFIG_MAX_MEM_MAPPED (256 << 20)
+#define CONFIG_MAX_MEM_MAPPED (256 << 20)
#endif
#endif