summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2016-04-29 13:30:25 +0800
committerYe Li <ye.li@nxp.com>2016-04-29 14:37:15 +0800
commitf521de2c5b79ab7f9b60b26cbe6a7ad50cfce9fa (patch)
tree38d99e4c143dbab1ebed7d34efbd025a4af9fed4 /board
parent69e4d3f0291bfd78a8934b36ffa29dce752af5b9 (diff)
downloadu-boot-imx-f521de2c5b79ab7f9b60b26cbe6a7ad50cfce9fa.zip
u-boot-imx-f521de2c5b79ab7f9b60b26cbe6a7ad50cfce9fa.tar.gz
u-boot-imx-f521de2c5b79ab7f9b60b26cbe6a7ad50cfce9fa.tar.bz2
MLK-12735 mx6qpsabresd: Update DDR script to version 1.14
DDR script file: arik_r2_sdb_ddr3_528_1.14.inc Compass link: http://compass.freescale.net/livelink/livelink?func=ll&objid=235302593&objAction=browse&sort=name&viewType=1 Update: setmem /32 0x020e0534 = 0x00018200 // IOMUXC_SW_PAD_CTL_PAD_DRAM_ADDR02 (SDQS0_B_TRIM=01, SDQS0_TRIM=10) setmem /32 0x020e0538 = 0x00008000 // IOMUXC_SW_PAD_CTL_PAD_DRAM_ADDR03 (SDQS1_B_TRIM=00, SDQS1_TRIM=00) setmem /32 0x020e053C = 0x00018200 // IOMUXC_SW_PAD_CTL_PAD_DRAM_ADDR04 (SDQS2_B_TRIM=01, SDQS2_TRIM=10) setmem /32 0x020e0540 = 0x00018200 // IOMUXC_SW_PAD_CTL_PAD_DRAM_ADDR05 (SDQS3_B_TRIM=01, SDQS3_TRIM=10) setmem /32 0x020e0544 = 0x00018200 // IOMUXC_SW_PAD_CTL_PAD_DRAM_ADDR06 (SDQS4_B_TRIM=01, SDQS4_TRIM=10) setmem /32 0x020e0548 = 0x00018200 // IOMUXC_SW_PAD_CTL_PAD_DRAM_ADDR07 (SDQS5_B_TRIM=01, SDQS5_TRIM=10) setmem /32 0x020e054C = 0x00018200 // IOMUXC_SW_PAD_CTL_PAD_DRAM_ADDR08 (SDQS6_B_TRIM=01, SDQS6_TRIM=10) setmem /32 0x020e0550 = 0x00018200 // IOMUXC_SW_PAD_CTL_PAD_DRAM_ADDR09 (SDQS7_B_TRIM=01, SDQS7_TRIM=10) setmem /32 0x021b08c0 = 0x24912489 // fine tune SDCLK duty cyc to low - seen to improve measured duty cycle of i.mx6 setmem /32 0x021b48c0 = 0x24914452 setmem /32 0x021b0018 = 0x00011740 // MMDC0_MDMISC, RALAT=0x5, WALAT=0x1 Test: Passed stress memtester on one board. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit b7f43f47a78c9d0c14fe104daf22efab13709ab1)
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx6sabresd/mx6qp.cfg16
-rw-r--r--board/freescale/mx6sabresd/plugin.S18
2 files changed, 28 insertions, 6 deletions
diff --git a/board/freescale/mx6sabresd/mx6qp.cfg b/board/freescale/mx6sabresd/mx6qp.cfg
index 15e4cda..6ac80b1 100644
--- a/board/freescale/mx6sabresd/mx6qp.cfg
+++ b/board/freescale/mx6sabresd/mx6qp.cfg
@@ -66,6 +66,16 @@ DATA 4, 0x020e0518, 0x00000030
DATA 4, 0x020e050c, 0x00000030
DATA 4, 0x020e05b8, 0x00000030
DATA 4, 0x020e05c0, 0x00000030
+
+DATA 4, 0x020e0534, 0x00018200
+DATA 4, 0x020e0538, 0x00008000
+DATA 4, 0x020e053c, 0x00018200
+DATA 4, 0x020e0540, 0x00018200
+DATA 4, 0x020e0544, 0x00018200
+DATA 4, 0x020e0548, 0x00018200
+DATA 4, 0x020e054c, 0x00018200
+DATA 4, 0x020e0550, 0x00018200
+
DATA 4, 0x020e0774, 0x00020000
DATA 4, 0x020e0784, 0x00000030
DATA 4, 0x020e0788, 0x00000030
@@ -104,8 +114,8 @@ DATA 4, 0x021b481c, 0x33333333
DATA 4, 0x021b4820, 0x33333333
DATA 4, 0x021b4824, 0x33333333
DATA 4, 0x021b4828, 0x33333333
-DATA 4, 0x021b08c0, 0x24912249
-DATA 4, 0x021b48c0, 0x24914289
+DATA 4, 0x021b08c0, 0x24912489
+DATA 4, 0x021b48c0, 0x24914452
DATA 4, 0x021b08b8, 0x00000800
DATA 4, 0x021b48b8, 0x00000800
DATA 4, 0x021b0004, 0x00020036
@@ -113,7 +123,7 @@ DATA 4, 0x021b0008, 0x24444040
DATA 4, 0x021b000c, 0x555A7955
DATA 4, 0x021b0010, 0xFF320F64
DATA 4, 0x021b0014, 0x01ff00db
-DATA 4, 0x021b0018, 0x00001740
+DATA 4, 0x021b0018, 0x00011740
DATA 4, 0x021b001c, 0x00008000
DATA 4, 0x021b002c, 0x000026d2
DATA 4, 0x021b0030, 0x005A1023
diff --git a/board/freescale/mx6sabresd/plugin.S b/board/freescale/mx6sabresd/plugin.S
index 4606b03..c5e807d 100644
--- a/board/freescale/mx6sabresd/plugin.S
+++ b/board/freescale/mx6sabresd/plugin.S
@@ -43,6 +43,18 @@
str r1, [r0, #0x5b8]
str r1, [r0, #0x5c0]
+ ldr r1, =0x00018200
+ str r1, [r0, #0x534]
+ ldr r1, =0x00008000
+ str r1, [r0, #0x538]
+ ldr r1, =0x00018200
+ str r1, [r0, #0x53c]
+ str r1, [r0, #0x540]
+ str r1, [r0, #0x544]
+ str r1, [r0, #0x548]
+ str r1, [r0, #0x54c]
+ str r1, [r0, #0x550]
+
ldr r1, =0x00020000
str r1, [r0, #0x774]
@@ -109,9 +121,9 @@
str r2, [r1, #0x824]
str r2, [r1, #0x828]
- ldr r2, =0x24912249
+ ldr r2, =0x24912489
str r2, [r0, #0x8c0]
- ldr r2, =0x24914289
+ ldr r2, =0x24914452
str r2, [r1, #0x8c0]
ldr r2, =0x00000800
@@ -130,7 +142,7 @@
ldr r2, =0x01FF00DB
str r2, [r0, #0x014]
- ldr r2, =0x00001740
+ ldr r2, =0x00011740
str r2, [r0, #0x018]
ldr r2, =0x00008000