summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-04-28 16:11:14 +0800
committerYe.Li <B37916@freescale.com>2014-04-28 17:26:11 +0800
commitb79672fd60d35cd74fb0e883eab652bb48b3f4cf (patch)
tree7b8be0fae2cac8cc12933e772bf90208f74d75b3
parent819e0f696a3912a2d91f9fbffbfc6ec306023bbc (diff)
downloadu-boot-imx-b79672fd60d35cd74fb0e883eab652bb48b3f4cf.zip
u-boot-imx-b79672fd60d35cd74fb0e883eab652bb48b3f4cf.tar.gz
u-boot-imx-b79672fd60d35cd74fb0e883eab652bb48b3f4cf.tar.bz2
ENGR00310792 iMX6SX Change plugin hack address for booting from EIMNOR
In “include/asm/arch/mx6_plugin.s” the codes commented by “CONFIG_SYS_BOOT_EIMNOR” is the workaround code, and is used to resolve the WEIM plug in boot issue. But the address is updated to "0x900b5c" on PELE ROM, so u-boot plugin code should update accordingly. Signed-off-by: Ye.Li <B37916@freescale.com>
-rw-r--r--arch/arm/include/asm/arch-mx6/mx6_plugin.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-mx6/mx6_plugin.S b/arch/arm/include/asm/arch-mx6/mx6_plugin.S
index c7a8c9b..79b1bf8 100644
--- a/arch/arm/include/asm/arch-mx6/mx6_plugin.S
+++ b/arch/arm/include/asm/arch-mx6/mx6_plugin.S
@@ -52,14 +52,16 @@ plugin_start:
adr r2, boot_data2
#ifdef CONFIG_SYS_BOOT_EIMNOR
- ldr r3, =0x00900800
#ifdef CONFIG_MX6SX
+ ldr r3, =0x00900b00
ldr r4, =0x50000000
+ str r4, [r3, #0x5c]
#else
+ ldr r3, =0x00900800
ldr r4, =0x08000000
-#endif
str r4, [r3, #0xc0]
#endif
+#endif
/*
* check the _pu_irom_api_table for the address