Browse Source

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>
imx_v2016.03_4.1.30_7ulp_alpha
Ye Li 4 years ago
parent
commit
8e0351e7d5
3 changed files with 11 additions and 9 deletions
  1. +2
    -2
      board/freescale/mx6sll_arm2/imximage.cfg
  2. +2
    -2
      board/freescale/mx6sll_arm2/imximage_lpddr2.cfg
  3. +7
    -5
      board/freescale/mx6sll_arm2/plugin.S

+ 2
- 2
board/freescale/mx6sll_arm2/imximage.cfg View File

@ -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


+ 2
- 2
board/freescale/mx6sll_arm2/imximage_lpddr2.cfg View File

@ -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


+ 7
- 5
board/freescale/mx6sll_arm2/plugin.S View File

@ -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


Loading…
Cancel
Save