9
0
Fork 0

regression: reset can not return

Signed-off-by: vj <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
vicencb@gmail.com 2012-10-06 00:33:03 +02:00 committed by Sascha Hauer
parent 026e6aeb82
commit 9cb32d1d58
4 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ void __bare_init reset(void)
#endif
if (get_pc() < 0xD0000000) /* Are we running from iRAM? */
return; /* No, we don't. */
board_init_lowlevel_return(); /* No, we don't. */
s5p_init_dram_bank_ddr2(S5P_DMC0_BASE, 0x20E00323, 0, 0);

View File

@ -81,7 +81,7 @@ void reset(void)
common_reset();
if (get_pc() > 0x80000000)
return;
board_init_lowlevel_return();
r = 0x4030d000;
__asm__ __volatile__("mov sp, %0" : : "r"(r));

View File

@ -91,7 +91,7 @@ void reset(void)
common_reset();
if (get_pc() > 0x80000000)
return;
board_init_lowlevel_return();
r = 0x4030d000;
__asm__ __volatile__("mov sp, %0" : : "r"(r));

View File

@ -91,7 +91,7 @@ void reset(void)
common_reset();
if (get_pc() > 0x80000000)
return;
board_init_lowlevel_return();
r = 0x4030d000;
__asm__ __volatile__("mov sp, %0" : : "r"(r));