* [PATCH 6/6] ARM: use arm_setup_stack function on archosg9
@ 2012-10-13 14:22 Vicente
0 siblings, 0 replies; only message in thread
From: Vicente @ 2012-10-13 14:22 UTC (permalink / raw)
To: barebox; +Cc: Vicente
Signed-off-by: Vicente <vicencb@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-13 14:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-13 14:22 [PATCH 6/6] ARM: use arm_setup_stack function on archosg9 Vicente
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox