From: Mike Frysinger Date: Sun, 12 Oct 2008 01:23:41 +0000 (-0400) Subject: Blackfin: just set SP register directly during init X-Git-Tag: v2009.03-rc1~147^2~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=95433f6d43ede6b40c1d900f3f704c839aa074f1;p=oweals%2Fu-boot.git Blackfin: just set SP register directly during init No need to set the SP register indirectly to the configured value when it can be set directly. Signed-off-by: Mike Frysinger --- diff --git a/cpu/blackfin/start.S b/cpu/blackfin/start.S index 6c5fef7a52..8617c9852e 100644 --- a/cpu/blackfin/start.S +++ b/cpu/blackfin/start.S @@ -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