[rtems commit] LEON3: UT699 and GR712 sleep-mode d-cache fix

Sebastian Huber sebh at rtems.org
Mon Mar 31 11:25:18 UTC 2014


Module:    rtems
Branch:    master
Commit:    1d9818dcb3e6f0535949859d102b7e249496698d
Changeset: http://git.rtems.org/rtems/commit/?id=1d9818dcb3e6f0535949859d102b7e249496698d

Author:    Daniel Cederman <cederman at gaisler.com>
Date:      Mon Mar 31 13:06:20 2014 +0200

LEON3: UT699 and GR712 sleep-mode d-cache fix

See errata of respective chip. Some code-cleanup as well.

---

 c/src/lib/libbsp/sparc/leon3/startup/bspidle.S |    8 +++-----
 1 files changed, 3 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..8557ff4 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/bspidle.S
+++ b/c/src/lib/libbsp/sparc/leon3/startup/bspidle.S
@@ -23,8 +23,6 @@
 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
+           nop




More information about the vc mailing list