From 4b06e767dcb2adebca2c628e69b85a489171c2fb Mon Sep 17 00:00:00 2001 From: Juan Gutierrez Date: Fri, 2 Dec 2016 16:41:11 -0600 Subject: 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 --- board/freescale/mx6dqscm/imximage_scm_lpddr2.cfg | 29 +++++++++++++----------- 1 file 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 -- cgit v1.1