Module Name: src
Committed By: jmcneill
Date: Wed May 13 11:07:02 UTC 2015
Modified Files:
src/sys/arch/evbarm/tegra: tegra_machdep.c
Log Message:
initialize cpufreq subsystem
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbarm/tegra/tegra_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/tegra/tegra_machdep.c
diff -u src/sys/arch/evbarm/tegra/tegra_machdep.c:1.13 src/sys/arch/evbarm/tegra/tegra_machdep.c:1.14
--- src/sys/arch/evbarm/tegra/tegra_machdep.c:1.13 Tue May 12 10:37:20 2015
+++ src/sys/arch/evbarm/tegra/tegra_machdep.c Wed May 13 11:07:02 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_machdep.c,v 1.13 2015/05/12 10:37:20 jmcneill Exp $ */
+/* $NetBSD: tegra_machdep.c,v 1.14 2015/05/13 11:07:02 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <[email protected]>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_machdep.c,v 1.13 2015/05/12 10:37:20 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_machdep.c,v 1.14 2015/05/13 11:07:02 jmcneill Exp $");
#include "opt_tegra.h"
#include "opt_machdep.h"
@@ -373,6 +373,10 @@ tegra_device_register(device_t self, voi
return;
}
+ if (device_is_a(self, "cpu") && device_unit(self) == 0) {
+ tegra_cpuinit();
+ }
+
#ifdef BOARD_JETSONTK1
if (device_is_a(self, "sdhc")
&& device_is_a(device_parent(self), "tegraio")) {