summaryrefslogtreecommitdiffstats
path: root/sys/arm/allwinner
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-02-26 22:06:10 +0000
committerian <ian@FreeBSD.org>2014-02-26 22:06:10 +0000
commit6765240e8d836b50e2135e928456ed8923b220ad (patch)
tree85571d00e9daf458bf21ddc00bda4bff2fa22ad9 /sys/arm/allwinner
parentcd2fb30b688a39a31956c0559e2983d0654eeb4a (diff)
downloadFreeBSD-src-6765240e8d836b50e2135e928456ed8923b220ad.zip
FreeBSD-src-6765240e8d836b50e2135e928456ed8923b220ad.tar.gz
Replace many pasted identical definitions of cpu_initclocks() with a common
implementation in arm/machdep.c. Most arm platforms either don't need to do anything, or just need to call the standard eventtimer init routines. A generic implementation that does that is now provided via weak linkage. Any platform that needs to do something different can provide a its own implementation to override the generic one.
Diffstat (limited to 'sys/arm/allwinner')
-rw-r--r--sys/arm/allwinner/timer.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/arm/allwinner/timer.c b/sys/arm/allwinner/timer.c
index 4668026..c87f947 100644
--- a/sys/arm/allwinner/timer.c
+++ b/sys/arm/allwinner/timer.c
@@ -295,12 +295,6 @@ a10_timer_get_timerfreq(struct a10_timer_softc *sc)
return (sc->timer0_freq);
}
-void
-cpu_initclocks(void)
-{
- cpu_initclocks_bsp();
-}
-
static int
a10_timer_hardclock(void *arg)
{
OpenPOWER on IntegriCloud