summaryrefslogtreecommitdiffstats
path: root/sys/arm/lpc
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/lpc
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/lpc')
-rw-r--r--sys/arm/lpc/lpc_timer.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/arm/lpc/lpc_timer.c b/sys/arm/lpc/lpc_timer.c
index 5769435..ded53fa 100644
--- a/sys/arm/lpc/lpc_timer.c
+++ b/sys/arm/lpc/lpc_timer.c
@@ -280,12 +280,6 @@ lpc_get_timecount(struct timecounter *tc)
}
void
-cpu_initclocks(void)
-{
- cpu_initclocks_bsp();
-}
-
-void
DELAY(int usec)
{
uint32_t counter;
OpenPOWER on IntegriCloud