[PATCH 1/1] LEON3: UT699 and GR712 sleep-mode d-cache fix
Daniel Cederman
cederman at gaisler.com
Mon Mar 31 07:00:23 UTC 2014
From: Daniel Hellstrom <daniel at gaisler.com>
See errata of respective chip. Some code-cleanups as well.
Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>
---
c/src/lib/libbsp/sparc/leon3/startup/bspidle.S | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/bspidle.S b/c/src/lib/libbsp/sparc/leon3/startup/bspidle.S
index 99c9d1f..3dfe08c 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/bspidle.S
+++ b/c/src/lib/libbsp/sparc/leon3/startup/bspidle.S
@@ -21,8 +21,8 @@
PUBLIC(bsp_idle_thread)
SYM(bsp_idle_thread):
pwdloop: mov %g0, %asr19
+ lda [%sp] 1, %g0 ! Needed for UT699 and GR712
ba pwdloop
- nop
+ nop
retl
- nop
-
+ nop
--
1.7.9.5
More information about the devel
mailing list