summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/config.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-02-06 09:56:35 -0600
committerAndy Fleming <afleming@freescale.com>2009-02-16 18:05:51 -0600
commitf8523cb0815b2d3d2d780b7d49ca614105555f58 (patch)
tree206a783a630f0878ad49977dfe712219bfd4e957 /include/asm-ppc/config.h
parent1542fbdeec0d1e2a6df13189df8dcb1ce8802be3 (diff)
downloadbootable_bootloader_goldelico_gta04-f8523cb0815b2d3d2d780b7d49ca614105555f58.zip
bootable_bootloader_goldelico_gta04-f8523cb0815b2d3d2d780b7d49ca614105555f58.tar.gz
bootable_bootloader_goldelico_gta04-f8523cb0815b2d3d2d780b7d49ca614105555f58.tar.bz2
85xx: Fix how we map DDR memory
Previously we only allowed power-of-two memory sizes and didnt handle >2G of memory. Now we will map up to CONFIG_MAX_MEM_MAPPED and should properly handle any size that we can make in the TLBs we have available to us Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc/config.h')
-rw-r--r--include/asm-ppc/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/config.h b/include/asm-ppc/config.h
index 2a4ee15..275a7c8 100644
--- a/include/asm-ppc/config.h
+++ b/include/asm-ppc/config.h
@@ -22,7 +22,7 @@
#define _ASM_CONFIG_H_
#ifndef CONFIG_MAX_MEM_MAPPED
-#if defined(CONFIG_4xx)
+#if defined(CONFIG_4xx) || defined(CONFIG_E500)
#define CONFIG_MAX_MEM_MAPPED ((phys_size_t)2 << 30)
#else
#define CONFIG_MAX_MEM_MAPPED (256 << 20)