public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 4/6] TQM885D: use calculated cpuclk instead of measuring it
Date: Fri, 05 Oct 2007 14:47:49 +0200	[thread overview]
Message-ID: <20071005124749.94B13245B2@gemini.denx.de> (raw)
In-Reply-To: Your message of "Fri, 05 Oct 2007 13:59:01 +0200." <47F3F98010FF784EBEE6526EAAB078D1024F874D@tq-mailsrv.tq-net.de>

In message <47F3F98010FF784EBEE6526EAAB078D1024F874D@tq-mailsrv.tq-net.de> you wrote:
>
> > Ummm.. it may not be strictly necessary - but does it hurt? Or is it
> > not working?
> 
> To make it work, changes in /cpu/mpc8xx/speed.c would be necessary. I
> send a patch some weeks ago ("TQM885D: Use the OSCM,feeded by EXTAL =3D
>  10 MHz"), which wasn't accepted, because board specific code is
> not allowed in this file.

I asked you to change it in a way that is  not  board  specific,  but
feature-specific.

> Since we only have one quartz on the TQM885D, we could not do 
> reference measurements like on the other TQM8xx boards (which have
> two independent external clock sources). So Measuring the clock with
> the PIT will produce the same result as calculating the clock from 
> the PLL register values.

So it's not working at all and cannot be fixed. So drop it.

> Another point is, that older TQM885D boards use EXTCLK as clock
> source and newer versions EXTAL. If the cpuclk is calculated,
> the same u-boot Image could be used for the older and the newer
> board versions. If cpuclk is measured two different U-Boot images
> would be necessary.

Understood.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It would seem that evil retreats when forcibly confronted
	-- Yarnek of Excalbia, "The Savage Curtain", stardate 5906.5

      reply	other threads:[~2007-10-05 12:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24  8:58 [U-Boot-Users] [PATCH 0/4] Some patches for the TQM885D board Martin Krause
2007-07-24  8:58 ` [U-Boot-Users] [PATCH 1/4] TQM885D: fix problem with PHY on FEC2 Martin Krause
2007-07-30 15:32   ` Wolfgang Denk
2007-07-24  8:58 ` [U-Boot-Users] [PATCH 2/4] TQM885D: adjust for doubled flash sector size + some minor fixes Martin Krause
2007-07-30 15:42   ` Wolfgang Denk
2007-08-06 11:49     ` Martin Krause
2007-08-06 14:38       ` Wolfgang Denk
2007-07-24  8:58 ` [U-Boot-Users] [PATCH 3/4] TQM885D: fix SDRAM refresh Martin Krause
2007-07-24  8:58 ` [U-Boot-Users] [PATCH 4/4] TQM885D: Use the OSCM, feeded by EXTAL = 10 MHz Martin Krause
2007-07-30 15:42   ` Wolfgang Denk
2007-09-26  9:57     ` Martin Krause
2007-09-26 14:34       ` Martin Krause
2007-10-05 10:05 ` [U-Boot-Users] [PATCH] Resend: some patches for the TQM885D board Martin Krause
2007-10-05 10:06 ` [U-Boot-Users] [PATCH 1/6] TQM885D: Exchanged SDRAM timing by a more relaxed timing Martin Krause
2007-10-05 10:06 ` [U-Boot-Users] [PATCH 3/6] TQM885D: adjust for doubled flash sector size + some minor fixes Martin Krause
2007-10-05 10:06 ` [U-Boot-Users] [PATCH 4/6] TQM885D: use calculated cpuclk instead of measuring it Martin Krause
2007-10-05 11:09   ` Wolfgang Denk
2007-10-05 11:59     ` Martin Krause
2007-10-05 12:47       ` Wolfgang Denk [this message]

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=20071005124749.94B13245B2@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /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