[PATCH 1/1] LEON3: UT699 and GR712 sleep-mode d-cache fix
Daniel Cederman
cederman at gaisler.com
Mon Mar 31 09:48:38 UTC 2014
See errata of respective chip. Some code-cleanup as well.
---
c/src/lib/libbsp/sparc/leon3/startup/bspidle.S | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/bspidle.S b/c/src/lib/libbsp/sparc/leon3/startup/bspidle.S
index 714d4e5..0924658 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/bspidle.S
+++ b/c/src/lib/libbsp/sparc/leon3/startup/bspidle.S
@@ -23,8 +23,5 @@
SYM(bsp_idle_thread):
SYM(leon3_power_down_loop):
pwdloop: mov %g0, %asr19
- ba pwdloop
- nop
- retl
- nop
-
+ lda [%sp] 1, %g0 ! Needed for UT699 and GR712
+ ba,a pwdloop
--
1.7.9.5
More information about the devel
mailing list