summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2015-04-14 09:28:54 +0200
committerDaniel Hellstrom <daniel@gaisler.com>2015-04-17 01:10:30 +0200
commit9fe249d0327abc4493438f650d7c9af6cb95964a (patch)
treecca20ed577ec7dc8bdcee787e341e02c654adefc /c/src/lib/libbsp/sparc/leon3/clock/ckinit.c
parentLEON3: simplify amba initialization (diff)
downloadrtems-9fe249d0327abc4493438f650d7c9af6cb95964a.tar.bz2
LEON3: move timer variable to where initialized
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/sparc/leon3/clock/ckinit.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c b/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c
index 858027006a..ad226161bc 100644
--- a/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c
+++ b/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c
@@ -37,11 +37,7 @@
#define CLOCK_DRIVER_USE_FAST_IDLE 1
#endif
-/*
- * The Real Time Clock Counter Timer uses this trap type.
- */
-
-volatile struct gptimer_regs *LEON3_Timer_Regs = 0;
+/* LEON3 Timer system interrupt number */
static int clkirq;
static void leon3_clock_profiling_interrupt_delay(void)