[U-Boot] [PATCH] MPC8349ITX: support of DDR > 256MB

Valeriy Glushkov gvv at lstec.com
Wed Feb 4 16:42:37 CET 2009


The previous version rebooted forever with DDR bigger 256MB.

Signed-off-by: Valeriy Glushkov <gvv at lstec.com>
---
 include/configs/MPC8349ITX.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h
index 14cbc45..3f87f0f 100644
--- a/include/configs/MPC8349ITX.h
+++ b/include/configs/MPC8349ITX.h
@@ -158,6 +158,9 @@
 #define CONFIG_SYS_DDR_SDRAM_CLK_CNTL	(DDR_SDRAM_CLK_CNTL_SS_EN | \
 				DDR_SDRAM_CLK_CNTL_CLK_ADJUST_075)
 
+#define CONFIG_VERY_BIG_RAM
+#define CONFIG_MAX_MEM_MAPPED   ((phys_size_t)256 << 20)
+
 #ifdef CONFIG_HARD_I2C
 #define CONFIG_SPD_EEPROM		/* use SPD EEPROM for DDR setup*/
 #endif
-- 
1.5.2.5



More information about the U-Boot mailing list