Author: ian
Date: Mon Oct 20 23:32:34 2014
New Revision: 273352
URL: https://svnweb.freebsd.org/changeset/base/273352

Log:
  The imx6 hardware is fast enough to make good use of however much
  timecounter resolution is available, so ask for a 1 GHz frequency.  It
  won't actually get one that fast, but that'll get the fastest available
  clock and use a divisor of 1 (probably 132 or 66mhz on current hardware).

Modified:
  head/sys/arm/freescale/imx/imx_gpt.c

Modified: head/sys/arm/freescale/imx/imx_gpt.c
==============================================================================
--- head/sys/arm/freescale/imx/imx_gpt.c        Mon Oct 20 22:52:15 2014        
(r273351)
+++ head/sys/arm/freescale/imx/imx_gpt.c        Mon Oct 20 23:32:34 2014        
(r273352)
@@ -95,7 +95,7 @@ struct imx_gpt_softc *imx_gpt_sc = NULL;
 static const int imx_gpt_delay_count = 78;
 
 /* Try to divide down an available fast clock to this frequency. */
-#define        TARGET_FREQUENCY        10000000
+#define        TARGET_FREQUENCY        1000000000
 
 /* Don't try to set an event timer period smaller than this. */
 #define        MIN_ET_PERIOD           10LLU
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to