summaryrefslogtreecommitdiff
path: root/sys/arch/arm/footbridge
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2004-02-14 00:17:07 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2004-02-14 00:17:07 +0000
commit5216a1d69b4da595b7198978332acf8079038644 (patch)
treefbbc8394c1d9f294a3e55bf58d342cfedd30c7f8 /sys/arch/arm/footbridge
parent3665490c88a0927e4a671887ffa561d84d17774a (diff)
Enable statclock at 128/1024.
Diffstat (limited to 'sys/arch/arm/footbridge')
-rw-r--r--sys/arch/arm/footbridge/footbridge_clock.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/arm/footbridge/footbridge_clock.c b/sys/arch/arm/footbridge/footbridge_clock.c
index fbe733a4367..43596f03384 100644
--- a/sys/arch/arm/footbridge/footbridge_clock.c
+++ b/sys/arch/arm/footbridge/footbridge_clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: footbridge_clock.c,v 1.1 2004/02/01 05:09:49 drahn Exp $ */
+/* $OpenBSD: footbridge_clock.c,v 1.2 2004/02/14 00:17:06 drahn Exp $ */
/* $NetBSD: footbridge_clock.c,v 1.17 2003/03/23 14:12:25 chris Exp $ */
/*
@@ -281,13 +281,12 @@ void
cpu_initclocks()
{
/* stathz and profhz should be set to something, we have the timer */
-#if 0
+
if (stathz == 0)
- stathz = hz;
+ stathz = 128;
if (profhz == 0)
- profhz = stathz * 5;
-#endif
+ profhz = stathz * 8;
/* Report the clock frequencies */
printf("clock: hz=%d stathz = %d profhz = %d\n", hz, stathz, profhz);