
In message 47F3F98010FF784EBEE6526EAAB078D1024F874D@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