summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon2/startup/bspstart.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon2/startup/bspstart.c')
-rw-r--r--c/src/lib/libbsp/sparc/leon2/startup/bspstart.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/startup/bspstart.c b/c/src/lib/libbsp/sparc/leon2/startup/bspstart.c
index 899c4dd8aa..f182121629 100644
--- a/c/src/lib/libbsp/sparc/leon2/startup/bspstart.c
+++ b/c/src/lib/libbsp/sparc/leon2/startup/bspstart.c
@@ -24,17 +24,17 @@
/*
* Tells us if data cache snooping is available
- */
+ */
int CPU_SPARC_HAS_SNOOPING;
/*
* set_snooping
- *
+ *
* Read the data cache configuration register to determine if
* bus snooping is available. This is needed for some drivers so
- * that they can select the most efficient copy routines.
+ * that they can select the most efficient copy routines.
*/
-static inline int set_snooping(void)
+static inline int set_snooping(void)
{
unsigned int tmp = *(unsigned int *)0x80000014; /* Cache control register */
return ((tmp>>23) & 1); /* Data cache snooping enabled */