Initialization of Timer Clock on the MPC8260

annamaya annamaya at
Thu Dec 16 04:18:24 EST 2004

Hello Wolfgang,

I will surely post this in the U-Boot forums. I just
did not know where it was but I think I've found it
now. I still had the address to the PPCBOOT mailist
lists. I miss the good old days. :-)

And to answer you questions, yes, I did look at the
GPIO pins for all the 8260 boards and not one of them
was configured to be a clock. And I was unable to find
the setbrg() routine elsewhere to set brgc1 to be the
input for timerclk.


--- Wolfgang Denk <wd at> wrote:

> In message
> <20041214230712.79751.qmail at>
> you wrote:
> > I am not sure if this is the right place to ask
> this
> > question since this may be a U-Boot question. I am
> Why do you ask here and not on the U-Boot mailing
> list then?
> > trying to understand how the source for the timer
> > clock is selected on this processor. Figure 4-3
> tries
> > to explain this but I am unable to find code in
> U-Boot
> > that actually sets either BRG1 or one of the GPIO
> pins
> > to act as inputs for the timer clock generation.
> Can
> > someone point me to the right place in the code
> where
> Well, did you check the place where all GPIO pins
> get initialized, i. e. board/<name>/<name>.c ?
> Best regards,
> Wolfgang Denk
> -- 
> Software Engineering:  Embedded and Realtime
> Systems,  Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80
> Email: wd at
> "To take a significant step forward, you must make a
> series of finite
> improvements." - Donald J. Atwood, General Motors

Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 

More information about the Linuxppc-embedded mailing list