svn commit: r264094 - head/sys/arm/arm

Ian Lepore ian at FreeBSD.org
Fri Apr 4 00:00:06 UTC 2014


Author: ian
Date: Fri Apr  4 00:00:05 2014
New Revision: 264094
URL: http://svnweb.freebsd.org/changeset/base/264094

Log:
  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

Modified:
  head/sys/arm/arm/mpcore_timer.c

Modified: head/sys/arm/arm/mpcore_timer.c
==============================================================================
--- head/sys/arm/arm/mpcore_timer.c	Thu Apr  3 23:22:04 2014	(r264093)
+++ head/sys/arm/arm/mpcore_timer.c	Fri Apr  4 00:00:05 2014	(r264094)
@@ -301,6 +301,7 @@ arm_tmr_attach(device_t dev)
 				    "attribute in FDT\n");
 				return (ENXIO);
 			}
+			sc->clkfreq = clock;
 		}
 	}
 


More information about the svn-src-head mailing list