[U-Boot] [PATCH] powerpc/t2080rdb: update ddr to support 1866MT/s

Shengzhou Liu Shengzhou.Liu at freescale.com
Wed Mar 18 09:32:53 CET 2015


Tested with SODIMM D3XP12081XL10AA 1866MT/s on T2080RDB.
Enable CONFIG_CMD_MEMTEST as well.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu at freescale.com>
---
 board/freescale/t208xrdb/ddr.h | 4 ++--
 include/configs/T208xRDB.h     | 5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/board/freescale/t208xrdb/ddr.h b/board/freescale/t208xrdb/ddr.h
index b6d4062..08cbb60 100644
--- a/board/freescale/t208xrdb/ddr.h
+++ b/board/freescale/t208xrdb/ddr.h
@@ -32,12 +32,12 @@ static const struct board_specific_parameters udimm0[] = {
 	{2,  1500, 2, 5,     6, 0x07070809, 0x0a0b0b09},
 	{2,  1600, 2, 5,     8, 0x0808070b, 0x0c0d0e0a},
 	{2,  1700, 2, 4,     7, 0x080a0a0c, 0x0c0d0e0a},
-	{2,  1900, 2, 5,     9, 0x0a0b0c0e, 0x0f10120c},
+	{2,  1900, 0, 5,     7, 0x0808080c, 0x0b0c0c09},
 	{1,  1200, 2, 5,     7, 0x0808090a, 0x0b0c0c0a},
 	{1,  1500, 2, 5,     6, 0x07070809, 0x0a0b0b09},
 	{1,  1600, 2, 5,     8, 0x0808070b, 0x0c0d0e0a},
 	{1,  1700, 2, 4,     7, 0x080a0a0c, 0x0c0d0e0a},
-	{1,  1900, 2, 5,     9, 0x0a0b0c0e, 0x0f10120c},
+	{1,  1900, 0, 5,     7, 0x0808080c, 0x0b0c0c09},
 	{}
 };
 
diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h
index 81bc51c..73b8d88 100644
--- a/include/configs/T208xRDB.h
+++ b/include/configs/T208xRDB.h
@@ -140,6 +140,11 @@
 #define CONFIG_MEM_INIT_VALUE		0xdeadbeef
 #endif
 
+#define CONFIG_CMD_MEMTEST
+#define CONFIG_SYS_MEMTEST_START	0x00200000 /* memtest works on */
+#define CONFIG_SYS_MEMTEST_END		0x00400000
+#define CONFIG_SYS_ALT_MEMTEST
+
 #ifndef CONFIG_SYS_NO_FLASH
 #define CONFIG_FLASH_CFI_DRIVER
 #define CONFIG_SYS_FLASH_CFI
-- 
2.1.0.27.g96db324



More information about the U-Boot mailing list