Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2015 07:45:16 +0000 (UTC)
From:      Ganbold Tsagaankhuu <ganbold@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r277113 - stable/10/sys/arm/allwinner
Message-ID:  <201501130745.t0D7jGVP039670@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501130745.t0D7jGVP039670>