Browse Source

MLK-13539: mx6sl: evk: lpddr2: add pre charge command all

LPDDR2 script MX6SL_MMDC_LPDDR2_register_programming_aid_v0.9.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>
imx_v2016.03_4.1.30_7ulp_alpha
Adrian Alonso 4 years ago
parent
commit
498f4a7915
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      board/freescale/mx6slevk/imximage.cfg
  2. +2
    -0
      board/freescale/mx6slevk/plugin.S

+ 1
- 0
board/freescale/mx6slevk/imximage.cfg View File

@ -109,6 +109,7 @@ DATA 4 0x021b0038 0x00190778
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


+ 2
- 0
board/freescale/mx6slevk/plugin.S View File

@ -123,6 +123,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


Loading…
Cancel
Save