summaryrefslogtreecommitdiffstats
path: root/src/arch/armnommu
diff options
context:
space:
mode:
authorMichael Brown2005-04-08 17:01:17 +0200
committerMichael Brown2005-04-08 17:01:17 +0200
commit0ff80b477dcff0726ebdbed95e8a93971e59e82b (patch)
tree860b7150212a07c24a9529ea072f3fb12700974c /src/arch/armnommu
parentMerged this file into HEAD (diff)
downloadipxe-0ff80b477dcff0726ebdbed95e8a93971e59e82b.tar.gz
ipxe-0ff80b477dcff0726ebdbed95e8a93971e59e82b.tar.xz
ipxe-0ff80b477dcff0726ebdbed95e8a93971e59e82b.zip
Merged mcb30-realmode-redesign back to HEAD
Diffstat (limited to 'src/arch/armnommu')
-rw-r--r--src/arch/armnommu/core/arm_timer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/armnommu/core/arm_timer.c b/src/arch/armnommu/core/arm_timer.c
index b858ca8d2..fef20e7ba 100644
--- a/src/arch/armnommu/core/arm_timer.c
+++ b/src/arch/armnommu/core/arm_timer.c
@@ -9,7 +9,7 @@
#include "timer.h"
#include "latch.h"
#include "hardware.h"
-
+#include "init.h"
/* get timer returns the contents of the timer */
static unsigned long get_timer(void)
@@ -29,7 +29,7 @@ static unsigned long configure_timer(void)
static unsigned long clocks_per_tick = 1;
-void setup_timers(void)
+static void setup_timers(void)
{
if (!clocks_per_tick) {
clocks_per_tick = configure_timer();
@@ -75,3 +75,5 @@ int timer2_running(void)
{
return __timer_running();
}
+
+INIT_FN ( INIT_TIMERS, setup_timers, NULL, NULL );