Date: Thu, 2 Oct 2014 06:00:55 +0000 (UTC) From: Ganbold Tsagaankhuu <ganbold@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r272397 - head/sys/arm/allwinner Message-ID: <201410020600.s9260tqI066200@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ganbold Date: Thu Oct 2 06:00:55 2014 New Revision: 272397 URL: https://svnweb.freebsd.org/changeset/base/272397 Log: Allow timer0 to run at full 24MHz not at 24MHz/16 by setting prescale to 1. Approved by: stas (mentor) Modified: head/sys/arm/allwinner/timer.c Modified: head/sys/arm/allwinner/timer.c ============================================================================== --- head/sys/arm/allwinner/timer.c Thu Oct 2 05:56:17 2014 (r272396) +++ head/sys/arm/allwinner/timer.c Thu Oct 2 06:00:55 2014 (r272397) @@ -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?201410020600.s9260tqI066200>