powerpc/t2080rdb: update ddr to support 1866MT/s
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Fri, 27 Mar 2015 07:53:14 +0000 (15:53 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 20 Apr 2015 17:15:29 +0000 (10:15 -0700)
Support SODIMM D3XP12081XL10AA 1866MT/s on T2080RDB.
Enable CONFIG_CMD_MEMTEST as well.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/t208xrdb/ddr.h
include/configs/T208xRDB.h

index b6d406219e48417dc5a10921974be394ddb7a176..08cbb606d5e8055cb91d5f574f6ebf20380d736d 100644 (file)
@@ -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},
        {}
 };
 
index 453cb88289527d1ab193d5f684e82bba5f93623c..a3d06c4e0900f3defab5abdcf142d4f18c47e5a3 100644 (file)
 #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