Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org
Subject: Re: [PATCH] Alchemy: work around clock misdetection on early Au1000 (take 2)
Date: Thu, 27 Mar 2008 16:17:09 +0300	[thread overview]
Message-ID: <47EB9E55.4040800@ru.mvista.com> (raw)
In-Reply-To: <200803271609.31772.sshtylyov@ru.mvista.com>

I just wrote:

> Index: linux-2.6/arch/mips/au1000/common/setup.c
> ===================================================================
> --- linux-2.6.orig/arch/mips/au1000/common/setup.c
> +++ linux-2.6/arch/mips/au1000/common/setup.c
> @@ -57,7 +57,7 @@ void __init plat_mem_setup(void)
>  {
>  	struct	cpu_spec *sp;
>  	char *argptr;
> -	unsigned long prid, cpupll, bclk = 1;
> +	unsigned long prid, cpufreq, bclk = 1;
>  
>  	set_cpuspec();
>  	sp = cur_cpu_spec[0];
> @@ -65,8 +65,15 @@ void __init plat_mem_setup(void)
>  	board_setup();  /* board specific setup */
>  
>  	prid = read_c0_prid();
> -	cpupll = (au_readl(0xB1900060) & 0x3F) * 12;
> -	printk("(PRId %08lx) @ %ldMHZ\n", prid, cpupll);
> +	if (cur_cpu_spec[0]->cpu_pll_wo)

    Oops! Ralf, could you change 'cur_cpu_spec[0]' to just 'sp' here before 
committing?

WBR, Sergei

  reply	other threads:[~2008-03-27 13:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27 13:09 [PATCH] Alchemy: work around clock misdetection on early Au1000 (take 2) Sergei Shtylyov
2008-03-27 13:17 ` Sergei Shtylyov [this message]
2008-03-27 13:34   ` Ralf Baechle
2008-03-27 13:37 ` 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=47EB9E55.4040800@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /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