diff options
author | Ye.Li <B37916@freescale.com> | 2014-08-07 11:42:23 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2014-08-07 13:52:52 +0800 |
commit | 05070aede5fdf1f10e1c2f56be9fcfd22de06c18 (patch) | |
tree | 7519e996dfe3daaf938b796131cb7a37e4312923 | |
parent | 45fa2ad38b846596e61ce8fc477713dede8a43e7 (diff) | |
download | u-boot-imx-05070aede5fdf1f10e1c2f56be9fcfd22de06c18.zip u-boot-imx-05070aede5fdf1f10e1c2f56be9fcfd22de06c18.tar.gz u-boot-imx-05070aede5fdf1f10e1c2f56be9fcfd22de06c18.tar.bz2 |
ENGR00326213 iMX6SX:19x19ARM2: Update LPDDR2 settings
HWApps team updates iMX6SX 19x19 validation board LPDDR2 script.
This script is JEDEC compliant.
http://compass.freescale.net/livelink/livelink/open/232537085
Update the LPDDR2 settings in DCD and plugin.
Signed-off-by: Ye.Li <B37916@freescale.com>
-rw-r--r-- | board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg | 51 | ||||
-rw-r--r-- | board/freescale/mx6sx_19x19_arm2/plugin.S | 20 |
2 files changed, 37 insertions, 34 deletions
diff --git a/board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg b/board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg index 9f5c883..c8ab483 100644 --- a/board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg +++ b/board/freescale/mx6sx_19x19_arm2/imximage_lpddr2.cfg @@ -63,29 +63,29 @@ DATA 4 0x020e0618 0x00080000 DATA 4 0x020e05fc 0x00000000 DATA 4 0x020e032c 0x00000030 -DATA 4 0x020e0300 0x00000030 -DATA 4 0x020e02fc 0x00000030 -DATA 4 0x020e05f4 0x00000030 -DATA 4 0x020e0340 0x00000030 +DATA 4 0x020e0300 0x00000028 +DATA 4 0x020e02fc 0x00000028 +DATA 4 0x020e05f4 0x00000028 +DATA 4 0x020e0340 0x00000028 DATA 4 0x020e0320 0x00000000 DATA 4 0x020e0310 0x00000000 DATA 4 0x020e0314 0x00000000 -DATA 4 0x020e0614 0x00000030 +DATA 4 0x020e0614 0x00000028 DATA 4 0x020e05f8 0x00020000 -DATA 4 0x020e0330 0x00003030 -DATA 4 0x020e0334 0x00003030 -DATA 4 0x020e0338 0x00003030 -DATA 4 0x020e033c 0x00003030 +DATA 4 0x020e0330 0x00003028 +DATA 4 0x020e0334 0x00003028 +DATA 4 0x020e0338 0x00003028 +DATA 4 0x020e033c 0x00003028 DATA 4 0x020e0608 0x00020000 -DATA 4 0x020e060c 0x00000030 -DATA 4 0x020e0610 0x00000030 -DATA 4 0x020e061c 0x00000030 -DATA 4 0x020e0620 0x00000030 -DATA 4 0x020e02ec 0x00000030 -DATA 4 0x020e02f0 0x00000030 -DATA 4 0x020e02f4 0x00000030 -DATA 4 0x020e02f8 0x00000030 +DATA 4 0x020e060c 0x00000028 +DATA 4 0x020e0610 0x00000028 +DATA 4 0x020e061c 0x00000028 +DATA 4 0x020e0620 0x00000028 +DATA 4 0x020e02ec 0x00000028 +DATA 4 0x020e02f0 0x00000028 +DATA 4 0x020e02f4 0x00000028 +DATA 4 0x020e02f8 0x00000028 DATA 4 0x021b001c 0x00008000 DATA 4 0x021b085c 0x1b4700c7 @@ -96,12 +96,13 @@ DATA 4 0x021b081c 0x33333333 DATA 4 0x021b0820 0x33333333 DATA 4 0x021b0824 0x33333333 DATA 4 0x021b0828 0x33333333 -DATA 4 0x021b082c 0xf3333333 -DATA 4 0x021b0830 0xf3333333 -DATA 4 0x021b0834 0xf3333333 -DATA 4 0x021b0838 0xf3333333 -DATA 4 0x021b0848 0x3e42424a -DATA 4 0x021b0850 0x38363832 +DATA 4 0x021b082c 0x51111111 +DATA 4 0x021b0830 0x51111111 +DATA 4 0x021b0834 0x51111111 +DATA 4 0x021b0838 0x51111111 +DATA 4 0x021b0848 0x42424244 +DATA 4 0x021b0850 0x2E30322E +DATA 4 0x021b08c0 0x2492244A DATA 4 0x021b083c 0x20000000 DATA 4 0x021b0840 0x00000000 DATA 4 0x021b08b8 0x00000800 @@ -122,13 +123,13 @@ DATA 4 0x021b001c 0x003f8030 DATA 4 0x021b001c 0xff0a8030 DATA 4 0x021b001c 0x82018030 DATA 4 0x021b001c 0x04028030 -DATA 4 0x021b001c 0x02038030 +DATA 4 0x021b001c 0x01038030 DATA 4 0x021b001c 0x003f8038 DATA 4 0x021b001c 0xff0a8038 DATA 4 0x021b001c 0x82018038 DATA 4 0x021b001c 0x04028038 -DATA 4 0x021b001c 0x02038038 +DATA 4 0x021b001c 0x01038038 DATA 4 0x021b0020 0x00001800 DATA 4 0x021b0818 0x00000000 diff --git a/board/freescale/mx6sx_19x19_arm2/plugin.S b/board/freescale/mx6sx_19x19_arm2/plugin.S index 191fe5b..b5387a1 100644 --- a/board/freescale/mx6sx_19x19_arm2/plugin.S +++ b/board/freescale/mx6sx_19x19_arm2/plugin.S @@ -128,7 +128,7 @@ ldr r1, =0x00000030 str r1, [r0, #0x32c] - ldr r1, =0x00000030 + ldr r1, =0x00000028 str r1, [r0, #0x300] str r1, [r0, #0x2fc] str r1, [r0, #0x5f4] @@ -138,19 +138,19 @@ str r1, [r0, #0x320] str r1, [r0, #0x310] str r1, [r0, #0x314] - ldr r1, =0x00000030 + ldr r1, =0x00000028 str r1, [r0, #0x614] ldr r1, =0x00020000 str r1, [r0, #0x5f8] - ldr r1, =0x00003030 + ldr r1, =0x00003028 str r1, [r0, #0x330] str r1, [r0, #0x334] str r1, [r0, #0x338] str r1, [r0, #0x33c] ldr r1, =0x00020000 str r1, [r0, #0x608] - ldr r1, =0x00000030 + ldr r1, =0x00000028 str r1, [r0, #0x60c] str r1, [r0, #0x610] str r1, [r0, #0x61c] @@ -178,16 +178,18 @@ str r2, [r0, #0x824] str r2, [r0, #0x828] - ldr r2, =0xf3333333 + ldr r2, =0x51111111 str r2, [r0, #0x82c] str r2, [r0, #0x830] str r2, [r0, #0x834] str r2, [r0, #0x838] - ldr r2, =0x3e42424a + ldr r2, =0x42424244 str r2, [r0, #0x848] - ldr r2, =0x38363832 + ldr r2, =0x2E30322E str r2, [r0, #0x850] + ldr r2, =0x2492244A + str r2, [r0, #0x8c0] ldr r2, =0x20000000 str r2, [r0, #0x83c] ldr r2, =0x00000000 @@ -226,7 +228,7 @@ str r2, [r0, #0x01c] ldr r2, =0x04028030 str r2, [r0, #0x01c] - ldr r2, =0x02038030 + ldr r2, =0x01038030 str r2, [r0, #0x01c] ldr r2, =0x003f8038 @@ -237,7 +239,7 @@ str r2, [r0, #0x01c] ldr r2, =0x04028038 str r2, [r0, #0x01c] - ldr r2, =0x02038038 + ldr r2, =0x01038038 str r2, [r0, #0x01c] ldr r2, =0x00001800 |