diff options
author | Ian Lepore <ian@FreeBSD.org> | 2014-04-04 00:00:05 +0000 |
---|---|---|
committer | Ian Lepore <ian@FreeBSD.org> | 2014-04-04 00:00:05 +0000 |
commit | e354cdacde9e41f6c9c9a2733c93cc5141dd7fe8 (patch) | |
tree | dc2c8237fdbc0aba1ecbac25ec2fbb8125f6e943 /sys/arm/arm/mpcore_timer.c | |
parent | a50f6875f68af18c8c73974c553690d513b1e643 (diff) | |
download | src-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.c | 1 |
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; } } |