Module Name:    src
Committed By:   jmcneill
Date:           Sat Feb 28 15:21:07 UTC 2015

Modified Files:
        src/sys/arch/evbarm/amlogic: amlogic_machdep.c

Log Message:
set correct a9tmr/a9wdt frequency


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/amlogic/amlogic_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbarm/amlogic/amlogic_machdep.c
diff -u src/sys/arch/evbarm/amlogic/amlogic_machdep.c:1.6 src/sys/arch/evbarm/amlogic/amlogic_machdep.c:1.7
--- src/sys/arch/evbarm/amlogic/amlogic_machdep.c:1.6	Fri Feb 27 21:13:52 2015
+++ src/sys/arch/evbarm/amlogic/amlogic_machdep.c	Sat Feb 28 15:21:07 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: amlogic_machdep.c,v 1.6 2015/02/27 21:13:52 jmcneill Exp $ */
+/*	$NetBSD: amlogic_machdep.c,v 1.7 2015/02/28 15:21:07 jmcneill Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amlogic_machdep.c,v 1.6 2015/02/27 21:13:52 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amlogic_machdep.c,v 1.7 2015/02/28 15:21:07 jmcneill Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -558,7 +558,7 @@ amlogic_device_register(device_t self, v
 	 */
 	if (device_is_a(self, "a9tmr") || device_is_a(self, "a9wdt")) {
                 prop_dictionary_set_uint32(dict, "frequency",
-		    1600000000 / 2);
+		    amlogic_get_rate_a9periph());
 
 		return;
 	}

Reply via email to