From: Mike Frysinger Date: Fri, 23 Jan 2009 13:00:29 -0500 Subject: [U-Boot] [PATCH 28/40] Blackfin: just set SP register directly during init In-Reply-To: <1232733641-29276-1-git-send-email-vapier@gentoo.org> References: <1232733641-29276-1-git-send-email-vapier@gentoo.org> Message-ID: <1232733641-29276-29-git-send-email-vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de No need to set the SP register indirectly to the configured value when it can be set directly. Signed-off-by: Mike Frysinger --- cpu/blackfin/start.S | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cpu/blackfin/start.S b/cpu/blackfin/start.S index 6c5fef7..8617c98 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 -- 1.6.1