From: "Grant Likely" <grant.likely@secretlab.ca>
To: "Domen Puncer" <domen.puncer@telargo.com>
Cc: u-boot-users@lists.sourceforge.net, linuxppc-embedded@ozlabs.org
Subject: Re: [RFC PATCH] icecube/lite5200b: fix OF_TBCLK (timebase-frequency) calculation
Date: Wed, 7 Mar 2007 09:25:58 -0700 [thread overview]
Message-ID: <528646bc0703070825y299e0c78ne8d0a91e1cc6c02d@mail.gmail.com> (raw)
In-Reply-To: <20070307070258.GA4397@moe.telargo.com>
On 3/7/07, Domen Puncer <domen.puncer@telargo.com> wrote:
> I tracked jiffies (on Linux) incrementing twice as fast on
> lite5200b to this ("timebase-frequency" property).
>
> G2 core reference manual says decrementer and time base
> are decreasing/increasing once every 4 bus clock cycles.
>
> Was there a reason this was busfreq/8?
Simply sloppyness on my part.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
>
>
> Domen
> ---
> include/configs/IceCube.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: u-boot.git/include/configs/IceCube.h
> ===================================================================
> --- u-boot.git.orig/include/configs/IceCube.h
> +++ u-boot.git/include/configs/IceCube.h
> @@ -182,7 +182,7 @@
>
> #define OF_CPU "PowerPC,5200@0"
> #define OF_SOC "soc5200@f0000000"
> -#define OF_TBCLK (bd->bi_busfreq / 8)
> +#define OF_TBCLK (bd->bi_busfreq / 4)
> #define OF_STDOUT_PATH "/soc5200@f0000000/serial@2000"
>
> /*
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
prev parent reply other threads:[~2007-03-07 16:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-07 7:02 [RFC PATCH] icecube/lite5200b: fix OF_TBCLK (timebase-frequency) calculation Domen Puncer
2007-03-07 16:25 ` Grant Likely [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=528646bc0703070825y299e0c78ne8d0a91e1cc6c02d@mail.gmail.com \
--to=grant.likely@secretlab.ca \
--cc=domen.puncer@telargo.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=u-boot-users@lists.sourceforge.net \
/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;
as well as URLs for NNTP newsgroup(s).