On 4/20/07, Wolfgang Grandegger <[EMAIL PROTECTED]> wrote:
> Wolfgang Grandegger wrote:
> > Hello,
> >
> > is there a way to distinguish the CPU revision (Rev.A vs. Rev.B) of the
> > MPC5200, preferably at run time? Or should this be defined in the FDT?
> > I ask, because some settings depend on the CPU revision due to hardware
> > bugs, like the clock source used for MSCAN.

This stuff is defined in the device tree.  If you need to detect the
version at runtime, then ideally your bootloader will read the PVR/SVR
to determine the chip version and then pass the correct FDT to the
kernel.

> I found the information here:
>
> $ cat Documentation/powerpc/mpc52xx-device-tree-bindings.txt
<snip>
> Sorry for the noise.

Not noise; good question.

g.

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
[EMAIL PROTECTED]
(403) 399-0195
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to