Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Cc: Ralf Baechle <ralf@linux-mips.org>,
	linux-mips <linux-mips@linux-mips.org>
Subject: Re: [PATCH][MIPS] set up Cobalt's mips_hpt_frequency
Date: Mon, 10 Dec 2007 15:03:45 +0300	[thread overview]
Message-ID: <475D2B21.7050206@ru.mvista.com> (raw)
In-Reply-To: <20071209212204.5e50a697.yoichi_yuasa@tripeaks.co.jp>

Hello.

Yoichi Yuasa wrote:

> Set up Cobalt's mips_hpt_frequency.

> Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

> diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/cobalt/time.c mips/arch/mips/cobalt/time.c
> --- mips-orig/arch/mips/cobalt/time.c	2007-12-06 18:27:02.689043750 +0900
> +++ mips/arch/mips/cobalt/time.c	2007-12-09 17:13:37.916769000 +0900
> @@ -27,9 +27,28 @@
>  
>  void __init plat_time_init(void)
>  {
> +	u32 start, end;
> +	int i = HZ / 10;
> +
>  	setup_pit_timer();
>  
>  	gt641xx_set_base_clock(GT641XX_BASE_CLOCK);
>  
> -	mips_timer_state = gt641xx_timer0_state;
> +	/*
> +	 * MIPS counter frequency is measured between 100msec 

    s/between/during/

WBR, Sergei

  parent reply	other threads:[~2007-12-10 12:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-09 12:22 [PATCH][MIPS] set up Cobalt's mips_hpt_frequency Yoichi Yuasa
2007-12-09 19:10 ` Ralf Baechle
2007-12-10  0:36   ` Yoichi Yuasa
2007-12-10 13:15     ` Ralf Baechle
2007-12-10 12:03 ` Sergei Shtylyov [this message]
2007-12-10 13:22   ` Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=475D2B21.7050206@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=yoichi_yuasa@tripeaks.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox