summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2016-11-24 10:31:15 +0800
committerYe Li <ye.li@nxp.com>2016-11-24 10:31:15 +0800
commit8adb838b9d9b7109cd50965c624f279aa6a74673 (patch)
tree88cdfd9e233f34fde4de15162e2b92bcd19e6393
parentbd771e4337927fb8de90b06c84b22d5b2d96f787 (diff)
downloadu-boot-imx-8adb838b9d9b7109cd50965c624f279aa6a74673.zip
u-boot-imx-8adb838b9d9b7109cd50965c624f279aa6a74673.tar.gz
u-boot-imx-8adb838b9d9b7109cd50965c624f279aa6a74673.tar.bz2
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 <ye.li@nxp.com>
-rw-r--r--board/freescale/mx6sllevk/imximage.cfg4
-rw-r--r--board/freescale/mx6sllevk/plugin.S5
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