diff options
author | Ye Li <ye.li@nxp.com> | 2017-02-14 13:53:50 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-02-15 10:04:14 +0800 |
commit | 998f422f28f16b4fcbb61e486ee544d40e26a943 (patch) | |
tree | e5a03d88746daa5522dd333cad3dd4b9d8ab40ae | |
parent | e3343cb38eac2cc69b58247b5adcb500e5f19834 (diff) | |
download | u-boot-imx-998f422f28f16b4fcbb61e486ee544d40e26a943.zip u-boot-imx-998f422f28f16b4fcbb61e486ee544d40e26a943.tar.gz u-boot-imx-998f422f28f16b4fcbb61e486ee544d40e26a943.tar.bz2 |
MLK-13925-2 mx7ulp_arm2: Update LPDDR3/LPDDR2 script to latest version
Update LPDDR3 script from v1.3 to v1.5 IMX7ULP1_LPDDR3_320MHz_512MB_32bit_V1.5.inc
with changes:
Version 1.4
-update the precharge command to CMD=01 at DDR initializaiton phase
Version 1.5
-remove unimplemented registers
Write data bit delay --refer to the DDR_TRIM bits in IOMUXC1_DDR_SW_PAD_CTL_PAD_DDRn
Update LPDDR2 script from v1.0 to v1.1 IMX7ULP1_LPDDR2_320MHz_1GB_32bit_V1.1.inc
with changes:
Version 1.1
-remove unimplemented registers
Write data bit delay --refer to the DDR_TRIM bits in IOMUXC1_DDR_SW_PAD_CTL_PAD_DDRn
Files:
http://compass.freescale.net/livelink/livelink?func=ll&objid=235761218&objAction=browse&sort=name&viewType=1
Test:
No test for ARM2 board.
Signed-off-by: Ye Li <ye.li@nxp.com>
-rw-r--r-- | board/freescale/mx7ulp_arm2/imximage.cfg | 7 | ||||
-rw-r--r-- | board/freescale/mx7ulp_arm2/imximage_lpddr2.cfg | 5 | ||||
-rw-r--r-- | board/freescale/mx7ulp_arm2/plugin.S | 20 |
3 files changed, 2 insertions, 30 deletions
diff --git a/board/freescale/mx7ulp_arm2/imximage.cfg b/board/freescale/mx7ulp_arm2/imximage.cfg index 06b0259..add0b37 100644 --- a/board/freescale/mx7ulp_arm2/imximage.cfg +++ b/board/freescale/mx7ulp_arm2/imximage.cfg @@ -89,11 +89,6 @@ DATA 4 0x40AB0820 0x33333333 DATA 4 0x40AB0824 0x33333333 DATA 4 0x40AB0828 0x33333333 -DATA 4 0x40AB082C 0xf3333333 -DATA 4 0x40AB0830 0xf3333333 -DATA 4 0x40AB0834 0xf3333333 -DATA 4 0x40AB0838 0xf3333333 - DATA 4 0x40AB08C0 0x24922492 DATA 4 0x40AB08B8 0x00000800 @@ -108,7 +103,7 @@ DATA 4 0x40AB0030 0x009F0E10 DATA 4 0x40AB0040 0x0000004F DATA 4 0x40AB0000 0x84190000 -DATA 4 0x40AB001C 0x00008050 +DATA 4 0x40AB001C 0x00008010 DATA 4 0x40AB001C 0x003F8030 DATA 4 0x40AB001C 0xFF0A8030 DATA 4 0x40AB001C 0x04028030 diff --git a/board/freescale/mx7ulp_arm2/imximage_lpddr2.cfg b/board/freescale/mx7ulp_arm2/imximage_lpddr2.cfg index e465b72..39ff190 100644 --- a/board/freescale/mx7ulp_arm2/imximage_lpddr2.cfg +++ b/board/freescale/mx7ulp_arm2/imximage_lpddr2.cfg @@ -89,11 +89,6 @@ DATA 4 0x40AB0820 0x33333333 DATA 4 0x40AB0824 0x33333333 DATA 4 0x40AB0828 0x33333333 -DATA 4 0x40AB082C 0xf3333333 -DATA 4 0x40AB0830 0xf3333333 -DATA 4 0x40AB0834 0xf3333333 -DATA 4 0x40AB0838 0xf3333333 - DATA 4 0x40AB08C0 0x24922492 DATA 4 0x40AB08B8 0x00000800 diff --git a/board/freescale/mx7ulp_arm2/plugin.S b/board/freescale/mx7ulp_arm2/plugin.S index f9a8a0b..4e4b8bd 100644 --- a/board/freescale/mx7ulp_arm2/plugin.S +++ b/board/freescale/mx7ulp_arm2/plugin.S @@ -117,15 +117,6 @@ wait2: ldr r1, =0x33333333 str r1, [r0, #0x828] - ldr r1, =0xf3333333 - str r1, [r0, #0x82c] - ldr r1, =0xf3333333 - str r1, [r0, #0x830] - ldr r1, =0xf3333333 - str r1, [r0, #0x834] - ldr r1, =0xf3333333 - str r1, [r0, #0x838] - ldr r1, =0x24922492 str r1, [r0, #0x8c0] ldr r1, =0x00000800 @@ -153,7 +144,7 @@ wait2: ldr r1, =0x84190000 str r1, [r0, #0x0] - ldr r1, =0x00008050 + ldr r1, =0x00008010 str r1, [r0, #0x1c] ldr r1, =0x003F8030 str r1, [r0, #0x1c] @@ -256,15 +247,6 @@ wait2: ldr r1, =0x33333333 str r1, [r0, #0x828] - ldr r1, =0xf3333333 - str r1, [r0, #0x82c] - ldr r1, =0xf3333333 - str r1, [r0, #0x830] - ldr r1, =0xf3333333 - str r1, [r0, #0x834] - ldr r1, =0xf3333333 - str r1, [r0, #0x838] - ldr r1, =0x24922492 str r1, [r0, #0x8c0] ldr r1, =0x00000800 |