mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-07 03:50:41 +09:00
Blackfin: small cpu init optimization while setting interrupt mask
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>
This commit is contained in:
parent
960922291c
commit
bd33e5c613
@ -193,11 +193,8 @@ ENTRY(_start)
|
|||||||
p1.l = .Lenable_nested;
|
p1.l = .Lenable_nested;
|
||||||
p1.h = .Lenable_nested;
|
p1.h = .Lenable_nested;
|
||||||
[p0] = p1;
|
[p0] = p1;
|
||||||
p2.l = LO(IMASK);
|
r7 = EVT_IVG15 (z);
|
||||||
p2.h = HI(IMASK);
|
sti r7;
|
||||||
p3.l = LO(EVT_IVG15);
|
|
||||||
p3.h = HI(EVT_IVG15);
|
|
||||||
[p2] = p3;
|
|
||||||
raise 15;
|
raise 15;
|
||||||
p4.l = .LWAIT_HERE;
|
p4.l = .LWAIT_HERE;
|
||||||
p4.h = .LWAIT_HERE;
|
p4.h = .LWAIT_HERE;
|
||||||
|
Loading…
Reference in New Issue
Block a user