summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2016-10-20 14:42:53 +0800
committerRobby Cai <robby.cai@nxp.com>2016-11-16 16:59:16 +0800
commit6bf09b4eb88400154758b3f4eb944ca522da339e (patch)
tree5235d43667061e729354bf521f4def2c843c73e4
parent3e31cd4cf5407c7ab5e4533d0b77c83c97d850b9 (diff)
downloadu-boot-imx-6bf09b4eb88400154758b3f4eb944ca522da339e.zip
u-boot-imx-6bf09b4eb88400154758b3f4eb944ca522da339e.tar.gz
u-boot-imx-6bf09b4eb88400154758b3f4eb944ca522da339e.tar.bz2
MLK-13373 mx6sll: update ddr script to 2.1.1
Update ddr script to 2.1.1 Script: http://compass.freescale.net/livelink/livelink/235732623/EVK_IMX6SLL_LPDDR3_400MHz_512MB_32bit_V2.1.1.txt?func=doc.Fetch&nodeid=235732623 Version 2.1.1: -Update [MMDC_MPRDDLCTL] and [MMDC_MPWRDLCTL] based on calibration results -setmem /32 0x021B0848 = 0x3F393B3C // [MMDC_MPRDDLCTL] MMDC PHY Read delay-lines Configuration Register -setmem /32 0x021B0850 = 0x262C3826 // [MMDC_MPWRDLCTL] MMDC PHY Write delay-lines Configuration Register Tested on two boards. Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit a3e5ebaa772e7ab1fe54615a47656b796cf5723e)
-rw-r--r--board/freescale/mx6sllevk/imximage.cfg4
-rw-r--r--board/freescale/mx6sllevk/plugin.S4
2 files changed, 4 insertions, 4 deletions
diff --git a/board/freescale/mx6sllevk/imximage.cfg b/board/freescale/mx6sllevk/imximage.cfg
index 9271360..5d90bcd 100644
--- a/board/freescale/mx6sllevk/imximage.cfg
+++ b/board/freescale/mx6sllevk/imximage.cfg
@@ -79,8 +79,8 @@ DATA 4 0x021B001C 0x00008000
DATA 4 0x021B0800 0xA1390003
DATA 4 0x021B085c 0x084700C7
DATA 4 0x021B0890 0x00400000
-DATA 4 0x021B0848 0x3C3A3C3C
-DATA 4 0x021B0850 0x24293625
+DATA 4 0x021B0848 0x3F393B3C
+DATA 4 0x021B0850 0x262C3826
DATA 4 0x021B081C 0x33333333
DATA 4 0x021B0820 0x33333333
DATA 4 0x021B0824 0x33333333
diff --git a/board/freescale/mx6sllevk/plugin.S b/board/freescale/mx6sllevk/plugin.S
index 8fc38ff..f9ef35a 100644
--- a/board/freescale/mx6sllevk/plugin.S
+++ b/board/freescale/mx6sllevk/plugin.S
@@ -50,9 +50,9 @@
ldr r1, =0x00400000
str r1, [r0, #0x890]
- ldr r1, =0x3C3A3C3C
+ ldr r1, =0x3F393B3C
str r1, [r0, #0x848]
- ldr r1, =0x24293625
+ ldr r1, =0x262C3826
str r1, [r0, #0x850]
ldr r1, =0x33333333