svn commit: r277113 - stable/10/sys/arm/allwinner
Ganbold Tsagaankhuu
ganbold at FreeBSD.org
Tue Jan 13 07:45:17 UTC 2015
Author: ganbold
Date: Tue Jan 13 07:45:16 2015
New Revision: 277113
URL: https://svnweb.freebsd.org/changeset/base/277113
Log:
MFC:
Allow timer0 to run at full 24MHz not at 24MHz/16 by setting prescale to 1.
Approved by: stas (mentor)
Modified:
stable/10/sys/arm/allwinner/timer.c
Modified: stable/10/sys/arm/allwinner/timer.c
==============================================================================
--- stable/10/sys/arm/allwinner/timer.c Tue Jan 13 07:40:59 2015 (r277112)
+++ stable/10/sys/arm/allwinner/timer.c Tue Jan 13 07:45:16 2015 (r277113)
@@ -72,7 +72,7 @@ __FBSDID("$FreeBSD$");
#define TIMER_ENABLE (1<<0)
#define TIMER_AUTORELOAD (1<<1)
#define TIMER_OSC24M (1<<2) /* oscillator = 24mhz */
-#define TIMER_PRESCALAR (4<<4) /* prescalar = 16 */
+#define TIMER_PRESCALAR (0<<4) /* prescalar = 1 */
#define SYS_TIMER_CLKSRC 24000000 /* clock source */
More information about the svn-src-stable
mailing list