Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/rockchip use rockchip_a9periph_get_rate for ...



details:   https://anonhg.NetBSD.org/src/rev/e73b614e5bac
branches:  trunk
changeset: 805279:e73b614e5bac
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Dec 27 16:19:24 2014 +0000

description:
use rockchip_a9periph_get_rate for a9tmr frequency

diffstat:

 sys/arch/evbarm/rockchip/rockchip_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5e96a4286c64 -r e73b614e5bac sys/arch/evbarm/rockchip/rockchip_machdep.c
--- a/sys/arch/evbarm/rockchip/rockchip_machdep.c       Sat Dec 27 16:18:50 2014 +0000
+++ b/sys/arch/evbarm/rockchip/rockchip_machdep.c       Sat Dec 27 16:19:24 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rockchip_machdep.c,v 1.6 2014/12/27 04:20:38 jmcneill Exp $ */
+/*     $NetBSD: rockchip_machdep.c,v 1.7 2014/12/27 16:19:24 jmcneill Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rockchip_machdep.c,v 1.6 2014/12/27 04:20:38 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rockchip_machdep.c,v 1.7 2014/12/27 16:19:24 jmcneill Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -595,7 +595,7 @@
         */
        if (device_is_a(self, "a9tmr") || device_is_a(self, "a9wdt")) {
                 prop_dictionary_set_uint32(dict, "frequency",
-                   ROCKCHIP_REF_FREQ);
+                   rockchip_a9periph_get_rate());
                return;
        }
 



Home | Main Index | Thread Index | Old Index