From: Tom <Tom.Rix@windriver.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] using AT91_PMC_MCKR_MDIV_ instead of LEGACY one in at91/clock.c
Date: Sun, 28 Mar 2010 07:19:35 -0500 [thread overview]
Message-ID: <4BAF4957.8050608@windriver.com> (raw)
In-Reply-To: <1268912805-7585-1-git-send-email-dimov@ronetix.at>
Asen Dimov wrote:
> Signed-off-by: Asen Dimov <dimov@ronetix.at>
> ---
> cpu/arm926ejs/at91/clock.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/cpu/arm926ejs/at91/clock.c b/cpu/arm926ejs/at91/clock.c
> index b06d760..ecf91f5 100644
> --- a/cpu/arm926ejs/at91/clock.c
> +++ b/cpu/arm926ejs/at91/clock.c
> @@ -203,7 +203,8 @@ int at91_clock_init(unsigned long main_clock)
> if (mckr & AT91_PMC_MCKR_MDIV_MASK)
> freq /= 2; /* processor clock division */
> #elif defined(CONFIG_AT91SAM9G45) || defined(CONFIG_AT91SAM9M10G45)
> - mck_rate_hz = (mckr & AT91_PMC_MCKR_MDIV_MASK) == AT91SAM9_PMC_MDIV_3
> + mck_rate_hz = (mckr & AT91_PMC_MCKR_MDIV_MASK) ==
> + (AT91_PMC_MCKR_MDIV_2 | AT91_PMC_MCKR_MDIV_4)
> ? freq / 3
> : freq / (1 << ((mckr & AT91_PMC_MCKR_MDIV_MASK) >> 8));
> #else
Applied to arm/next
Thanks
Tom
prev parent reply other threads:[~2010-03-28 12:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-18 11:46 [U-Boot] [PATCH] using AT91_PMC_MCKR_MDIV_ instead of LEGACY one in at91/clock.c Asen Dimov
2010-03-28 12:19 ` Tom [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=4BAF4957.8050608@windriver.com \
--to=tom.rix@windriver.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox