9
0
Fork 0

ARM: use arm_setup_stack function on archosg9

Signed-off-by: Vicente <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Vicente 2012-10-13 16:22:08 +02:00 committed by Sascha Hauer
parent 1cfcd044f7
commit 543cf11ad4
1 changed files with 1 additions and 4 deletions

View File

@ -68,12 +68,9 @@ static noinline void archosg9_init_lowlevel(void)
void __naked __bare_init reset(void)
{
u32 r;
common_reset();
r = 0x4030D000;
__asm__ __volatile__("mov sp, %0" : : "r"(r));
arm_setup_stack(0x4030d000);
archosg9_init_lowlevel();
}