projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9609222
)
Blackfin: small cpu init optimization while setting interrupt mask
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 12 Oct 2008 01:19:39 +0000
(21:19 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 23 Oct 2008 09:03:51 +0000
(
05:03
-0400)
Use the sti instruction to set the initial interrupt mask rather than
banging on the core IMASK MMR to save both space and time.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cpu/blackfin/start.S
patch
|
blob
|
history
diff --git
a/cpu/blackfin/start.S
b/cpu/blackfin/start.S
index f351fab1706c093d9fb305641e1e8a379be34df6..9975a0c62f575c94ffee7ddeadf4fcb24295537e 100644
(file)
--- a/
cpu/blackfin/start.S
+++ b/
cpu/blackfin/start.S
@@
-193,11
+193,8
@@
ENTRY(_start)
p1.l = .Lenable_nested;
p1.h = .Lenable_nested;
[p0] = p1;
- p2.l = LO(IMASK);
- p2.h = HI(IMASK);
- p3.l = LO(EVT_IVG15);
- p3.h = HI(EVT_IVG15);
- [p2] = p3;
+ r7 = EVT_IVG15 (z);
+ sti r7;
raise 15;
p4.l = .LWAIT_HERE;
p4.h = .LWAIT_HERE;