[PATCH 1/4] bsp/leon3: Invalidate L1 caches during startup
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Feb 18 11:53:09 UTC 2014
---
c/src/lib/libbsp/sparc/shared/start/start.S | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/start/start.S b/c/src/lib/libbsp/sparc/shared/start/start.S
index df17a9b..d0eb512 100644
--- a/c/src/lib/libbsp/sparc/shared/start/start.S
+++ b/c/src/lib/libbsp/sparc/shared/start/start.S
@@ -223,6 +223,8 @@ SYM(hard_reset):
nop
#if defined(START_LEON3_ENABLE_SMP)
+ flush ! invalidate L1 caches of this CPU
+
rd %asr17, %o0 ! get CPU identifier
srl %o0, LEON3_ASR17_PROCESSOR_INDEX_SHIFT, %o0
--
1.7.7
More information about the devel
mailing list