diff options
author | Adrian Alonso <adrian.alonso@nxp.com> | 2016-11-29 11:32:25 -0600 |
---|---|---|
committer | Adrian Alonso <adrian.alonso@nxp.com> | 2016-12-01 11:44:36 -0600 |
commit | f99e0cb90bd1a47a4389f9a44335b31cba7539e3 (patch) | |
tree | 1da1fb01d8f46657830ac59a875d25b0bc844946 | |
parent | 80a2d6adbcae1001253c88e31da5add728974b07 (diff) | |
download | u-boot-imx-f99e0cb90bd1a47a4389f9a44335b31cba7539e3.zip u-boot-imx-f99e0cb90bd1a47a4389f9a44335b31cba7539e3.tar.gz u-boot-imx-f99e0cb90bd1a47a4389f9a44335b31cba7539e3.tar.bz2 |
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>
(Cherry pick from commit 498f4a791593069220213c6d777527f4d899fb8a)
-rw-r--r-- | board/freescale/mx6slevk/imximage.cfg | 1 | ||||
-rw-r--r-- | board/freescale/mx6slevk/plugin.S | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/mx6slevk/imximage.cfg b/board/freescale/mx6slevk/imximage.cfg index c32fe34..330fd8a 100644 --- a/board/freescale/mx6slevk/imximage.cfg +++ b/board/freescale/mx6slevk/imximage.cfg @@ -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 diff --git a/board/freescale/mx6slevk/plugin.S b/board/freescale/mx6slevk/plugin.S index 4862231..2b39c7f 100644 --- a/board/freescale/mx6slevk/plugin.S +++ b/board/freescale/mx6slevk/plugin.S @@ -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 |