From 9007dd86ea109d6634338b1752c045961da17dd3 Mon Sep 17 00:00:00 2001 From: Ye Li Date: Thu, 24 Nov 2016 10:31:15 +0800 Subject: MLK-13508-1 mx6sllevk: Update DDR script to v2.2 DDR script is updated to v2.2 to fix potential DQS gating issue. That DQS sampling may have problem after enabling the SDE_0/SDE_1 in MDCTL. Changes: -Based on V2.1.1, move the "Read DQS Gating Disable" to the step after "MR setting", to avoid potential DDR initializaiton failures (especially in Plugin Mode). File: http://compass.freescale.net/livelink/livelink?func=ll&objid=235701297&objAction=browse&sort=name&viewType=1 Test: Passed stress test on two boards. Signed-off-by: Ye Li (cherry picked from commit 8adb838b9d9b7109cd50965c624f279aa6a74673) --- board/freescale/mx6sllevk/imximage.cfg | 4 ++-- board/freescale/mx6sllevk/plugin.S | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/board/freescale/mx6sllevk/imximage.cfg b/board/freescale/mx6sllevk/imximage.cfg index 5d90bcd..44d5a34 100644 --- a/board/freescale/mx6sllevk/imximage.cfg +++ b/board/freescale/mx6sllevk/imximage.cfg @@ -104,8 +104,6 @@ DATA 4 0x021B0030 0x009F0E10 DATA 4 0x021B0040 0x0000005F DATA 4 0x021B0000 0xC4190000 -DATA 4 0x021B083C 0x20000000 - DATA 4 0x021B001C 0x00008050 DATA 4 0x021B001C 0x00008058 DATA 4 0x021B001C 0x003F8030 @@ -119,6 +117,8 @@ DATA 4 0x021B001C 0x83018038 DATA 4 0x021B001C 0x01038030 DATA 4 0x021B001C 0x01038038 +DATA 4 0x021B083C 0x20000000 + DATA 4 0x021B0020 0x00001800 DATA 4 0x021B0800 0xA1390003 DATA 4 0x021B0004 0x00020052 diff --git a/board/freescale/mx6sllevk/plugin.S b/board/freescale/mx6sllevk/plugin.S index f9ef35a..c03b067 100644 --- a/board/freescale/mx6sllevk/plugin.S +++ b/board/freescale/mx6sllevk/plugin.S @@ -92,8 +92,6 @@ str r1, [r0, #0x040] ldr r1, =0xC4190000 str r1, [r0, #0x000] - ldr r1, =0x20000000 - str r1, [r0, #0x83C] ldr r1, =0x00008050 str r1, [r0, #0x01C] @@ -120,6 +118,9 @@ ldr r1, =0x01038038 str r1, [r0, #0x01C] + ldr r1, =0x20000000 + str r1, [r0, #0x83C] + ldr r1, =0x00001800 str r1, [r0, #0x020] ldr r1, =0xA1390003 -- cgit v1.1