Skip to contentSkip to conversation

powerpc/t2080rdb: update ddr to support 1866MT/s

PATCH New Shengzhou Liu 2 participants 3 messages Mar 27, 2015 – Apr 20, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 powerpc/t2080rdb: update ddr to support 1866MT/s

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

---
v2: refined commit description.

 board/freescale/t208xrdb/ddr.h | 4 ++--
 include/configs/T208xRDB.h     | 5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)
board/freescale/t208xrdb/ddr.h +2 -2
index b6d4062..08cbb60 100644
@@ -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},
 	{}
 };
 
include/configs/T208xRDB.h +5 -0
index 81bc51c..73b8d88 100644
@@ -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
Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH v2 1/1 powerpc/t2080rdb: update ddr to support 1866MT/s

Shengzhou,

Quoted 2 lines · Shengzhou Liu

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

Did you find this test helpful? FYI, I have new test for DDR4. It is DDR controller built-in test. It catches more issues than memtest. But still it doesn't catch 100%. http://patchwork.ozlabs.org/patch/452026/

York

Applied
#2 lore raw

PATCH v2 1/1 powerpc/t2080rdb: update ddr to support 1866MT/s

In reply to Shengzhou Liu
Quoted 6 lines · Shengzhou Liu

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

---
v2: refined commit description.

Applied to mpc85xx master, awaiting upstream.

York