From 95433f6d43ede6b40c1d900f3f704c839aa074f1 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sat, 11 Oct 2008 21:23:41 -0400
Subject: [PATCH] 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 <vapier@gentoo.org>
---
 cpu/blackfin/start.S | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

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
-- 
2.39.5