[U-Boot-Users] [PATCH 4/6] TQM885D: use calculated cpuclk instead of measuring it
Wolfgang Denk
wd at denx.de
Fri Oct 5 14:47:49 CEST 2007
In message <47F3F98010FF784EBEE6526EAAB078D1024F874D at 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
More information about the U-Boot
mailing list