diff options
author | Ye Li <ye.li@nxp.com> | 2016-11-24 10:36:51 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2016-11-24 10:36:51 +0800 |
commit | 8e0351e7d524a1d53b596710972e074487d9d1fe (patch) | |
tree | 38b30017a1762b31b00944e6b2eaa490341dceeb | |
parent | 8adb838b9d9b7109cd50965c624f279aa6a74673 (diff) | |
download | u-boot-imx-8e0351e7d524a1d53b596710972e074487d9d1fe.zip u-boot-imx-8e0351e7d524a1d53b596710972e074487d9d1fe.tar.gz u-boot-imx-8e0351e7d524a1d53b596710972e074487d9d1fe.tar.bz2 |
MLK-13508-2 mx6sllarm2: Update DDR script to v2.3
DDR scripts are updated to fix DQS gating issue commonly for LPDDR2 and
LPDDR3. That DQS sampling may have problem after enabling the
SDE_0/SDE_1 in MDCTL.
Changes:
-Based on V2.2, 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 1 LPDDR2 ARM2 board and 1 LPDDR3 ARM2 board.
Signed-off-by: Ye Li <ye.li@nxp.com>
-rw-r--r-- | board/freescale/mx6sll_arm2/imximage.cfg | 4 | ||||
-rw-r--r-- | board/freescale/mx6sll_arm2/imximage_lpddr2.cfg | 4 | ||||
-rw-r--r-- | board/freescale/mx6sll_arm2/plugin.S | 12 |
3 files changed, 11 insertions, 9 deletions
diff --git a/board/freescale/mx6sll_arm2/imximage.cfg b/board/freescale/mx6sll_arm2/imximage.cfg index 70f2f24..c2524ae 100644 --- a/board/freescale/mx6sll_arm2/imximage.cfg +++ b/board/freescale/mx6sll_arm2/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/mx6sll_arm2/imximage_lpddr2.cfg b/board/freescale/mx6sll_arm2/imximage_lpddr2.cfg index 66d5e4f..3e4581f 100644 --- a/board/freescale/mx6sll_arm2/imximage_lpddr2.cfg +++ b/board/freescale/mx6sll_arm2/imximage_lpddr2.cfg @@ -104,8 +104,6 @@ DATA 4 0x021B0030 0x009F0E10 DATA 4 0x021B0040 0x0000004F DATA 4 0x021B0000 0xC3110000 -DATA 4 0x021B083C 0x20000000 - DATA 4 0x021B001C 0x00008050 DATA 4 0x021B001C 0x00008058 DATA 4 0x021B001C 0x003F8030 @@ -119,6 +117,8 @@ DATA 4 0x021B001C 0x82018038 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/mx6sll_arm2/plugin.S b/board/freescale/mx6sll_arm2/plugin.S index d85dcf0..1e5965a 100644 --- a/board/freescale/mx6sll_arm2/plugin.S +++ b/board/freescale/mx6sll_arm2/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 @@ -177,7 +178,7 @@ ldr r1, =0x3A383C40 str r1, [r0, #0x848] - ldr r1, =0x242C3020 + ldr r1, =0x242C3020 str r1, [r0, #0x850] ldr r1, =0x33333333 @@ -217,8 +218,6 @@ str r1, [r0, #0x040] ldr r1, =0xC3110000 str r1, [r0, #0x000] - ldr r1, =0x20000000 - str r1, [r0, #0x83C] ldr r1, =0x00008050 str r1, [r0, #0x01C] @@ -245,6 +244,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 |