summaryrefslogtreecommitdiffstats
path: root/sys/arm/freescale
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-10-20 23:32:34 +0000
committerian <ian@FreeBSD.org>2014-10-20 23:32:34 +0000
commit6fd6dd0843ae14996169165087e75428bb9448f8 (patch)
tree7915217e35baea2b7c1841b36ccd4e5de49e5cea /sys/arm/freescale
parenta21afe61383c6765fbef6b0f4c582d4adb3ac5e4 (diff)
downloadFreeBSD-src-6fd6dd0843ae14996169165087e75428bb9448f8.zip
FreeBSD-src-6fd6dd0843ae14996169165087e75428bb9448f8.tar.gz
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).
Diffstat (limited to 'sys/arm/freescale')
-rw-r--r--sys/arm/freescale/imx/imx_gpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/freescale/imx/imx_gpt.c b/sys/arm/freescale/imx/imx_gpt.c
index abbb140..6f77963 100644
--- a/sys/arm/freescale/imx/imx_gpt.c
+++ b/sys/arm/freescale/imx/imx_gpt.c
@@ -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
OpenPOWER on IntegriCloud