From 84d0d2624de79fe8f3f7d94713e3439ae35e806e Mon Sep 17 00:00:00 2001 From: Scott Ashcroft Date: Fri, 6 Oct 2006 16:54:54 +0100 Subject: [PATCH] --- yaml --- r: 39107 b: refs/heads/master c: 5c90d528b21cb9506713f92730f33246b80ecc25 h: refs/heads/master i: 39105: 13073c73932e0c82c971c30e454a7e964033795c 39103: d137871117dd8f3ab760f8be98db8ff48e62664d v: v3 --- [refs] | 2 +- trunk/arch/mips/cobalt/setup.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index f1c080c62781..cfbe112f2204 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 59d6ab86a6b1097d5e5eae5d820f8e2661009324 +refs/heads/master: 5c90d528b21cb9506713f92730f33246b80ecc25 diff --git a/trunk/arch/mips/cobalt/setup.c b/trunk/arch/mips/cobalt/setup.c index 0b347cffc768..bf9dc72b9720 100644 --- a/trunk/arch/mips/cobalt/setup.c +++ b/trunk/arch/mips/cobalt/setup.c @@ -50,8 +50,8 @@ const char *get_system_type(void) void __init plat_timer_setup(struct irqaction *irq) { - /* Load timer value for 1KHz (TCLK is 50MHz) */ - GALILEO_OUTL(50*1000*1000 / 1000, GT_TC0_OFS); + /* Load timer value for HZ (TCLK is 50MHz) */ + GALILEO_OUTL(50*1000*1000 / HZ, GT_TC0_OFS); /* Enable timer */ GALILEO_OUTL(GALILEO_ENTC0 | GALILEO_SELTC0, GT_TC_CONTROL_OFS);