summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Alonso <adrian.alonso@nxp.com>2016-11-29 11:32:25 -0600
committerAdrian Alonso <adrian.alonso@nxp.com>2016-12-01 11:28:42 -0600
commit498f4a791593069220213c6d777527f4d899fb8a (patch)
tree17731d0597706a5624806870075ad0248ed06f96
parent0df160cd68571cf895e84ac9f932e84db9e01952 (diff)
downloadu-boot-imx-498f4a791593069220213c6d777527f4d899fb8a.zip
u-boot-imx-498f4a791593069220213c6d777527f4d899fb8a.tar.gz
u-boot-imx-498f4a791593069220213c6d777527f4d899fb8a.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>
-rw-r--r--board/freescale/mx6slevk/imximage.cfg1
-rw-r--r--board/freescale/mx6slevk/plugin.S2
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