From 5754e74670e7d11330eaf209dc208b61247c6ce2 Mon Sep 17 00:00:00 2001 From: jmcneill Date: Wed, 3 Jun 2020 19:55:13 +0000 Subject: [PATCH] Re-enable "set cpufreq at boot" code. --- sys/dev/fdt/cpufreq_dt.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/fdt/cpufreq_dt.c b/sys/dev/fdt/cpufreq_dt.c index b90cd5cfaebb..939b9a4f29d3 100644 --- a/sys/dev/fdt/cpufreq_dt.c +++ b/sys/dev/fdt/cpufreq_dt.c @@ -1,4 +1,4 @@ -/* $NetBSD: cpufreq_dt.c,v 1.16 2020/06/03 15:47:22 jmcneill Exp $ */ +/* $NetBSD: cpufreq_dt.c,v 1.17 2020/06/03 19:55:13 jmcneill Exp $ */ /*- * Copyright (c) 2015-2017 Jared McNeill @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cpufreq_dt.c,v 1.16 2020/06/03 15:47:22 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cpufreq_dt.c,v 1.17 2020/06/03 19:55:13 jmcneill Exp $"); #include #include @@ -532,7 +532,6 @@ 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]; @@ -540,7 +539,6 @@ 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