]> git.sur5r.net Git - u-boot/blobdiff - include/asm-ppc/config.h
ppc4xx: Fix problem with CONFIG_MAX_MEM_MAPPED in include/asm-ppc/config.h
[u-boot] / include / asm-ppc / config.h
index 6d27cb1db34537918dd0a7d885ff40d74b6d0814..2a4ee15b7d8a5f13b1b840e24e475be7221fe914 100644 (file)
 #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