[PATCH 6/6] ARM: use arm_setup_stack function on archosg9
Vicente
vicencb at gmail.com
Sat Oct 13 10:22:08 EDT 2012
Signed-off-by: Vicente <vicencb at gmail.com>
---
arch/arm/boards/archosg9/lowlevel.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/arm/boards/archosg9/lowlevel.c b/arch/arm/boards/archosg9/lowlevel.c
index fa5be1d..d0506bb 100644
--- a/arch/arm/boards/archosg9/lowlevel.c
+++ b/arch/arm/boards/archosg9/lowlevel.c
@@ -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();
}
--
1.7.12.2
More information about the barebox
mailing list