summaryrefslogtreecommitdiff
path: root/cpu/arm1136
diff options
context:
space:
mode:
authorFred Fan <r01011@freescale.com>2009-12-24 19:09:55 +0800
committerFred Fan <r01011@freescale.com>2009-12-24 19:14:58 +0800
commitc1aa9915bdba9a69e34056d30bc7bd61dcdba4d4 (patch)
tree7d94de0a71e4cc5862363b17eeb97d0f03915205 /cpu/arm1136
parent750f168825cb80df2c296d69ec671f117d345c02 (diff)
downloadu-boot-imx-c1aa9915bdba9a69e34056d30bc7bd61dcdba4d4.zip
u-boot-imx-c1aa9915bdba9a69e34056d30bc7bd61dcdba4d4.tar.gz
u-boot-imx-c1aa9915bdba9a69e34056d30bc7bd61dcdba4d4.tar.bz2
ENGR00119625 i.MX35: UBoot doesn't accept commands if program uboot to NOR
Bug detailed description: 1. Program uboot to NOR. 2. UBoot can boot up, but it doesn't accept commands. log: MX35 U-Boot > MX35 U-Boot > help Unknown command 'help' - try 'help' MX35 U-Boot > printenv Unknown command 'printenv' - try 'help' MX35 U-Boot > help Unknown command 'help' - try 'help' MX35 U-Boot > Signed-off-by: Fred.fan <r01011@freescale.com
Diffstat (limited to 'cpu/arm1136')
-rw-r--r--cpu/arm1136/start.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/arm1136/start.S b/cpu/arm1136/start.S
index 2da16e7..0312856 100644
--- a/cpu/arm1136/start.S
+++ b/cpu/arm1136/start.S
@@ -210,10 +210,10 @@ relocate: /* relocate U-Boot to RAM */
ldr r1, =_armboot_start
cmp r0, r1 /* don't reloc during debug */
beq stack_setup
- ldr r2, _TEXT_BASE
+ ldr r2, _armboot_start
sub r0, r1, r0
sub r0, r2, r0
- ldr r1, _TEXT_BASE
+ mov r1, r2
ldr r2, _armboot_start
ldr r3, _bss_start
sub r2, r3, r2 /* r2 <- size of armboot */