diff options
author | ian <ian@FreeBSD.org> | 2014-04-02 18:43:56 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-04-02 18:43:56 +0000 |
commit | 05bbdd2129a0e1e9ab623d020eeb43695a9fb39f (patch) | |
tree | 2fb5c5fbae2cda3663a61ca92bcf067a32bd883c /sys/arm/ti/omap4 | |
parent | 2260931e898191ac58a72258df417d1ba3ab67a2 (diff) | |
download | FreeBSD-src-05bbdd2129a0e1e9ab623d020eeb43695a9fb39f.zip FreeBSD-src-05bbdd2129a0e1e9ab623d020eeb43695a9fb39f.tar.gz |
Diffstat (limited to 'sys/arm/ti/omap4')
-rw-r--r-- | sys/arm/ti/omap4/omap4_prcm_clks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/ti/omap4/omap4_prcm_clks.c b/sys/arm/ti/omap4/omap4_prcm_clks.c index 9233435..dc6b4a6 100644 --- a/sys/arm/ti/omap4/omap4_prcm_clks.c +++ b/sys/arm/ti/omap4/omap4_prcm_clks.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include <machine/resource.h> #include <machine/intr.h> +#include <arm/arm/mpcore_timervar.h> #include <arm/ti/tivar.h> #include <arm/ti/ti_prcm.h> #include <arm/ti/omap4/omap4_reg.h> @@ -1404,7 +1405,7 @@ omap4_prcm_attach(device_t dev) omap4_prcm_sc = sc; ti_cpu_reset = omap4_prcm_reset; omap4_clk_get_arm_fclk_freq(NULL, &freq); - platform_arm_tmr_freq = freq / 2; + arm_tmr_change_frequency(freq / 2); return (0); } |