Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2668
-gerrit
commit f5443f112f7d039a20fe2af9e9f73fbb3ff5776e Author: Gabe Black gabeblack@google.com Date: Tue Feb 26 19:08:28 2013 -0800
libpayload: Move over to the payload's stack during startup
Don't keep using the coreboot stack on ARMv7.
Change-Id: I734c5d77f8584e30ee0c720d41e21e3040f56db4 Signed-off-by: Gabe Black gabeblack@google.com --- payloads/libpayload/arch/armv7/head.S | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/payloads/libpayload/arch/armv7/head.S b/payloads/libpayload/arch/armv7/head.S index e1b5737..7a706e3 100644 --- a/payloads/libpayload/arch/armv7/head.S +++ b/payloads/libpayload/arch/armv7/head.S @@ -31,14 +31,21 @@ .text .align 4
+1: +.word _stack + /* * Our entry point */ _entry:
/* TODO: disable interrupts */ + /* TODO: Clear BSS */ - /* TODO: Setup new stack */ + + /* Setup new stack */ + ldr sp, 1b + /* TODO: Save old stack pointer */
/* Let's rock. */