85xx: Added MPC8535/E identifiers
[oweals/u-boot.git] / include / asm-ppc / config.h
index 049c44eaf84de0ce67d86afcf0cd016d4bd6c407..0900f65b96f3c85faa508aae0b030c27e7f81a8f 100644 (file)
 #ifndef _ASM_CONFIG_H_
 #define _ASM_CONFIG_H_
 
+#ifndef CONFIG_MAX_MEM_MAPPED
+#if defined(CONFIG_4xx) || defined(CONFIG_E500) || defined(CONFIG_MPC86xx)
+#define CONFIG_MAX_MEM_MAPPED  ((phys_size_t)2 << 30)
+#else
+#define CONFIG_MAX_MEM_MAPPED  (256 << 20)
+#endif
+#endif
+
 #endif