summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Gutierrez <juan.gutierrez@nxp.com>2016-12-02 16:41:11 -0600
committerJuan Gutierrez <juan.gutierrez@nxp.com>2017-01-31 14:59:49 -0600
commit91a556a4d8baccf6903f9789d6b12f96214da6ae (patch)
tree799fe8a63b3fcabbf29dde99621c7785fd03675a
parentd2e16e009e2c4cff6b7e203adaa0211db92c7e00 (diff)
downloadu-boot-imx-91a556a4d8baccf6903f9789d6b12f96214da6ae.zip
u-boot-imx-91a556a4d8baccf6903f9789d6b12f96214da6ae.tar.gz
u-boot-imx-91a556a4d8baccf6903f9789d6b12f96214da6ae.tar.bz2
MXSCM-236 mx6dqscm: adjust some ddr calibration parameters
Some adjustment to the ddr configuration like: - Precharge all commands per JEDEC - Fix the space partition values for 2Gb - Fix other values that reduce yield of scm parts per testing perfomed Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
-rw-r--r--board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg29
1 files changed, 16 insertions, 13 deletions
diff --git a/board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg b/board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg
index 4e4dacc..d95b9bc 100644
--- a/board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg
+++ b/board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg
@@ -139,7 +139,7 @@ DATA 4 0x021b0010 0x00100a82
DATA 4 0x021b0014 0x00000093
DATA 4 0x021b0018 0x0000174C
-DATA 4 0x021b001c 0x00008000
+DATA 4 0x021b001c 0x00008050
DATA 4 0x021b002c 0x0f9f26d2
DATA 4 0x021b0030 0x00000010
DATA 4 0x021b0038 0x00190778
@@ -257,7 +257,7 @@ DATA 4, 0x021b0848, 0x44404044
DATA 4, 0x021b4848, 0x44443A46
DATA 4, 0x021b0850, 0x34343A38
-DATA 4, 0x021b4850, 0x3E2E483C
+DATA 4, 0x021b4850, 0x382F3835
DATA 4, 0x021b083c, 0x20000000
DATA 4, 0x021b0840, 0x00000000
@@ -293,15 +293,15 @@ DATA 4, 0x021b0010, 0x00100a82
DATA 4, 0x021b0014, 0x00000093
DATA 4, 0x021b0018, 0x0000174C
-DATA 4, 0x021b001c, 0x00008000
+DATA 4, 0x021b001c, 0x00008050
DATA 4, 0x021b002c, 0x0f9f26d2
DATA 4, 0x021b0030, 0x009F0E10
DATA 4, 0x021b0038, 0x00190778
#ifdef CONFIG_INTERLEAVING_MODE
-DATA 4, 0x021b0040, 0x00000063
+DATA 4, 0x021b0040, 0x00000053
#else
-DATA 4, 0x021b0040, 0x0000005f
+DATA 4, 0x021b0040, 0x0000004f
#endif
DATA 4, 0x021b0000, 0xc3110000
@@ -316,18 +316,18 @@ DATA 4, 0x021b4010, 0x00100a82
DATA 4, 0x021b4014, 0x00000093
DATA 4, 0x021b4018, 0x0000174C
-DATA 4, 0x021b401c, 0x00008000
+DATA 4, 0x021b401c, 0x00008050
DATA 4, 0x021b402c, 0x0f9f26d2
-DATA 4, 0x021b4030, 0x00000010
+DATA 4, 0x021b4030, 0x009F0E10
DATA 4, 0x021b4038, 0x00190778
#ifdef CONFIG_INTERLEAVING_MODE
-DATA 4, 0x021b4040, 0x00000023
+DATA 4, 0x021b4040, 0x00000013
#else
-DATA 4, 0x021b4040, 0x00000027
+DATA 4, 0x021b4040, 0x00000017
#endif
DATA 4, 0x021b4000, 0xc3110000
@@ -339,12 +339,14 @@ DATA 4, 0x021b001c, 0xff0a8030
DATA 4, 0x021b001c, 0x82018030
DATA 4, 0x021b001c, 0x04028030
DATA 4, 0x021b001c, 0x04038030
+DATA 4, 0x021b001c, 0x01038030
/* CS1 */
DATA 4, 0x021b001c, 0x003f8038
DATA 4, 0x021b001c, 0xff0a8038
DATA 4, 0x021b001c, 0x82018038
DATA 4, 0x021b001c, 0x04028038
DATA 4, 0x021b001c, 0x04038038
+DATA 4, 0x021b001c, 0x01038038
/* Channel 1 */
/* CS0 */
@@ -353,14 +355,15 @@ DATA 4, 0x021b401c, 0xff0a8030
DATA 4, 0x021b401c, 0x82018030
DATA 4, 0x021b401c, 0x04028030
DATA 4, 0x021b401c, 0x04038030
+DATA 4, 0x021b401c, 0x01038030
/* CS1 */
DATA 4, 0x021b401c, 0x003f8038
DATA 4, 0x021b401c, 0xff0a8038
DATA 4, 0x021b401c, 0x82018038
DATA 4, 0x021b401c, 0x04028038
DATA 4, 0x021b401c, 0x04038038
-
-DATA 4, 0x021b0800, 0xa1390003
+DATA 4, 0x021b401c, 0x01038038
+DATA 4, 0x021b4800, 0xa1390003
DATA 4, 0x021b0020, 0x00001800
DATA 4, 0x021b4020, 0x00001800
@@ -512,7 +515,7 @@ DATA 4, 0x021b0010, 0x00100a82
DATA 4, 0x021b0014, 0x00000093
DATA 4, 0x021b0018, 0x0000174C
-DATA 4, 0x021b001c, 0x00008000
+DATA 4, 0x021b001c, 0x00008050
DATA 4, 0x021b002c, 0x0f9f26d2
DATA 4, 0x021b0030, 0x00000010
DATA 4, 0x021b0038, 0x00190778
@@ -533,7 +536,7 @@ DATA 4, 0x021b4010, 0x00100a82
DATA 4, 0x021b4014, 0x00000093
DATA 4, 0x021b4018, 0x0000174C
-DATA 4, 0x021b401c, 0x00008000
+DATA 4, 0x021b401c, 0x00008050
DATA 4, 0x021b402c, 0x0f9f26d2