diff options
author | Adrian Alonso <adrian.alonso@nxp.com> | 2016-11-29 11:41:25 -0600 |
---|---|---|
committer | Adrian Alonso <adrian.alonso@nxp.com> | 2016-12-01 11:45:56 -0600 |
commit | cdb160fb318cdbe36f3f460dd21d9a88d9d2e4db (patch) | |
tree | 798f7c6ec8e153ee193173f889b9b278e2e419aa | |
parent | b7a15076e2c4c0ed87e3095760bccb1a7d94dafd (diff) | |
download | u-boot-imx-cdb160fb318cdbe36f3f460dd21d9a88d9d2e4db.zip u-boot-imx-cdb160fb318cdbe36f3f460dd21d9a88d9d2e4db.tar.gz u-boot-imx-cdb160fb318cdbe36f3f460dd21d9a88d9d2e4db.tar.bz2 |
MLK-13540-2: 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 fac0991970b49ecae83129ecc355b71d8d54a1fb)
-rw-r--r-- | board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg | 2 | ||||
-rw-r--r-- | board/freescale/mx6sx_19x19_arm2/plugin.S | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg b/board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg index 5488d22..e374fa5 100644 --- a/board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg +++ b/board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg @@ -119,12 +119,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 diff --git a/board/freescale/mx6sx_19x19_arm2/plugin.S b/board/freescale/mx6sx_19x19_arm2/plugin.S index b5387a1..99456cc 100644 --- a/board/freescale/mx6sx_19x19_arm2/plugin.S +++ b/board/freescale/mx6sx_19x19_arm2/plugin.S @@ -220,6 +220,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 @@ -231,6 +233,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 |