Module Name:    src
Committed By:   jmcneill
Date:           Wed Jun  3 15:47:23 UTC 2020

Modified Files:
        src/sys/dev/fdt: cpufreq_dt.c

Log Message:
Disable setting cpufreq at boot for now


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/fdt/cpufreq_dt.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/dev/fdt/cpufreq_dt.c
diff -u src/sys/dev/fdt/cpufreq_dt.c:1.15 src/sys/dev/fdt/cpufreq_dt.c:1.16
--- src/sys/dev/fdt/cpufreq_dt.c:1.15	Wed Jun  3 15:44:45 2020
+++ src/sys/dev/fdt/cpufreq_dt.c	Wed Jun  3 15:47:22 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufreq_dt.c,v 1.15 2020/06/03 15:44:45 jmcneill Exp $ */
+/* $NetBSD: cpufreq_dt.c,v 1.16 2020/06/03 15:47:22 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015-2017 Jared McNeill <jmcne...@invisible.ca>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufreq_dt.c,v 1.15 2020/06/03 15:44:45 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufreq_dt.c,v 1.16 2020/06/03 15:47:22 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -532,6 +532,7 @@ cpufreq_dt_init(device_t self)
 
 	cpufreq_dt_init_sysctl(sc);
 
+#if notyet
 	if (sc->sc_nopp > 0) {
 		struct cpufreq_dt_opp * const opp = &sc->sc_opp[0];
 
@@ -539,6 +540,7 @@ cpufreq_dt_init(device_t self)
 		    opp->freq_khz / 1000, opp->freq_khz % 1000, opp->voltage_uv);
 		cpufreq_dt_set_rate(sc, opp->freq_khz);
 	}
+#endif
 }
 
 static int

Reply via email to