From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] flat tree clock setting
Date: Thu, 09 Nov 2006 11:28:10 -0600 [thread overview]
Message-ID: <4553652A.1040606@freescale.com> (raw)
In-Reply-To: <4553605D.5070205@freescale.com>
Timur Tabi wrote:
> Wouldn't it be better to change get_tbclk() to look like this?
>
> unsigned long get_tbclk(void)
> {
> #ifdef OF_TBCLK
> return OF_TBCLK
> #else
> ulong tbclk;
>
> tbclk = (gd->bus_clk + 3L) / 4L;
>
> return tbclk;
> #endif
> }
>
> And then change the ft_build.c code to always call get_tbclk()?
Are there any boards on which OF_TBCLK is (properly) set to something
other than what get_tbclk() returns (ignoring the difference in
rounding)? I don't see any, nor can I think of a reason why such a
difference should ever exist. Perhaps OF_TBCLK should just be removed?
-Scott
next prev parent reply other threads:[~2006-11-09 17:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-09 16:49 [U-Boot-Users] flat tree clock setting David Updegraff
2006-11-09 17:07 ` Timur Tabi
2006-11-09 17:28 ` Scott Wood [this message]
2006-11-09 21:23 ` Timur Tabi
2006-11-09 23:15 ` Timur Tabi
2006-11-09 17:08 ` Wolfgang Denk
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=4553652A.1040606@freescale.com \
--to=scottwood@freescale.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.