Browse Source

MLK-13540-1: mx6sx: arm2: lpddr2: add pre charge command all

LPDDR2 script MX6SX_19x19_LPDDR2_JEDEC.inc

Updated to add Precharge all command per JEDEC
The memory controller may optionally issue a precharge-all command
prior to the MRW reset command
This is strongly recommended to ensure robust DRAM
initialization

Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
(Cherry pick from commit 73ff17548c)
imx_v2016.03_4.1.15_2.0.0_ga
Adrian Alonso 4 years ago
parent
commit
b7a15076e2
2 changed files with 6 additions and 0 deletions
  1. +2
    -0
      board/freescale/mx6sx_17x17_arm2/mx6sx_14x14_lpddr2_arm2.cfg
  2. +4
    -0
      board/freescale/mx6sx_17x17_arm2/plugin.S

+ 2
- 0
board/freescale/mx6sx_17x17_arm2/mx6sx_14x14_lpddr2_arm2.cfg View File

@ -130,12 +130,14 @@ DATA 4 0x021b0008 0x00000000
DATA 4 0x021b0040 0x0000004f
DATA 4 0x021b0000 0xc3110000
DATA 4 0x021b001c 0x00008050
DATA 4 0x021b001c 0x003f8030
DATA 4 0x021b001c 0xff0a8030
DATA 4 0x021b001c 0x82018030
DATA 4 0x021b001c 0x04028030
DATA 4 0x021b001c 0x01038030
DATA 4 0x021b001c 0x00008058
DATA 4 0x021b001c 0x003f8038
DATA 4 0x021b001c 0xff0a8038
DATA 4 0x021b001c 0x82018038


+ 4
- 0
board/freescale/mx6sx_17x17_arm2/plugin.S View File

@ -229,6 +229,8 @@
ldr r2, =0xc3110000
str r2, [r0, #0x000]
ldr r2, =0x00008050
str r2, [r0, #0x01c]
ldr r2, =0x003f8030
str r2, [r0, #0x01c]
ldr r2, =0xff0a8030
@ -240,6 +242,8 @@
ldr r2, =0x01038030
str r2, [r0, #0x01c]
ldr r2, =0x00008058
str r2, [r0, #0x01c]
ldr r2, =0x003f8038
str r2, [r0, #0x01c]
ldr r2, =0xff0a8038


Loading…
Cancel
Save