Browse Source

MLK-13451-1: mx6ul: evk: lpddr2: add pre charge command all

LPDDR2 script IMX6UL_LPDDR2_400MHz_16bit_V1.1.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 97e63e7c3d)
imx_v2016.03_4.1.15_2.0.0_ga
Adrian Alonso 4 years ago
parent
commit
078cbca85b
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      board/freescale/mx6ul_14x14_evk/imximage_lpddr2.cfg
  2. +2
    -0
      board/freescale/mx6ul_14x14_evk/plugin.S

+ 1
- 0
board/freescale/mx6ul_14x14_evk/imximage_lpddr2.cfg View File

@ -107,6 +107,7 @@ DATA 4 0x021B002C 0x0F9F0682
DATA 4 0x021B0030 0x009F0010
DATA 4 0x021B0040 0x00000047
DATA 4 0x021B0000 0x83100000
DATA 4 0x021B001C 0x00008050
DATA 4 0x021B001C 0x003F8030
DATA 4 0x021B001C 0xFF0A8030
DATA 4 0x021B001C 0x82018030


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

@ -311,6 +311,8 @@
str r1, [r0, #0x040]
ldr r1, =0x83100000
str r1, [r0, #0x000]
ldr r1, =0x00008050
str r1, [r0, #0x01C]
ldr r1, =0x003F8030
str r1, [r0, #0x01C]
ldr r1, =0xFF0A8030


Loading…
Cancel
Save