aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/arm/mpcore_timer.c
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2014-04-04 00:00:05 +0000
committerIan Lepore <ian@FreeBSD.org>2014-04-04 00:00:05 +0000
commite354cdacde9e41f6c9c9a2733c93cc5141dd7fe8 (patch)
treedc2c8237fdbc0aba1ecbac25ec2fbb8125f6e943 /sys/arm/arm/mpcore_timer.c
parenta50f6875f68af18c8c73974c553690d513b1e643 (diff)
downloadsrc-e354cdacde9e41f6c9c9a2733c93cc5141dd7fe8.tar.gz
src-e354cdacde9e41f6c9c9a2733c93cc5141dd7fe8.zip
Actually save the clock frequency retrieved from fdt data. I fumbled
this when I converted getprop to getencprop. Submitted by: Thomas Skibo Pointy hat to: ian
Notes
Notes: svn path=/head/; revision=264094
Diffstat (limited to 'sys/arm/arm/mpcore_timer.c')
-rw-r--r--sys/arm/arm/mpcore_timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/arm/mpcore_timer.c b/sys/arm/arm/mpcore_timer.c
index 732c61e614ef..bf3070790cee 100644
--- a/sys/arm/arm/mpcore_timer.c
+++ b/sys/arm/arm/mpcore_timer.c
@@ -301,6 +301,7 @@ arm_tmr_attach(device_t dev)
"attribute in FDT\n");
return (ENXIO);
}
+ sc->clkfreq = clock;
}
}