Blackfin: just set SP register directly during init
authorMike Frysinger <vapier@gentoo.org>
Sun, 12 Oct 2008 01:23:41 +0000 (21:23 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 28 Jan 2009 18:26:14 +0000 (13:26 -0500)
No need to set the SP register indirectly to the configured value when it
can be set directly.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cpu/blackfin/start.S

index 6c5fef7..8617c98 100644 (file)
@@ -163,9 +163,8 @@ ENTRY(_start)
 .Lnorelocate:
 
        /* Setup the actual stack in external memory */
-       r0.h = HI(CONFIG_STACKBASE);
-       r0.l = LO(CONFIG_STACKBASE);
-       sp = r0;
+       sp.h = HI(CONFIG_STACKBASE);
+       sp.l = LO(CONFIG_STACKBASE);
        fp = sp;
 
        /* Now lower ourselves from the highest interrupt level to