Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/samsung The mct runs at F_IN / XUSBXTI of 24 Mhz
details: https://anonhg.NetBSD.org/src/rev/6582c039924e
branches: trunk
changeset: 795888:6582c039924e
user: reinoud <reinoud%NetBSD.org@localhost>
date: Fri May 09 22:19:22 2014 +0000
description:
The mct runs at F_IN / XUSBXTI of 24 Mhz
diffstat:
sys/arch/arm/samsung/exynos_io.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r f319931ed21b -r 6582c039924e sys/arch/arm/samsung/exynos_io.c
--- a/sys/arch/arm/samsung/exynos_io.c Fri May 09 22:16:56 2014 +0000
+++ b/sys/arch/arm/samsung/exynos_io.c Fri May 09 22:19:22 2014 +0000
@@ -34,7 +34,7 @@
#include "opt_exynos.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: exynos_io.c,v 1.2 2014/04/29 16:47:10 reinoud Exp $");
+__KERNEL_RCSID(1, "$NetBSD: exynos_io.c,v 1.3 2014/05/09 22:19:22 reinoud Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -95,12 +95,8 @@
prop_dictionary_t dict = device_properties(self);
if (device_is_a(self, "mct")) {
- /*
- * This clock always runs at (arm_clk div 2) and only goes
- * to timers that are part of the A9 MP core subsystem.
- */
- prop_dictionary_set_uint32(dict, "frequency",
- curcpu()->ci_data.cpu_cc_freq / 2);
+ /* This clock always runs at F_in / xusbxti of 24 Mhz */
+ prop_dictionary_set_uint32(dict, "frequency", EXYNOS_F_IN_FREQ);
return;
}
}
Home |
Main Index |
Thread Index |
Old Index