On Thu, Sep 17, 2009 at 8:04 AM, Dragos Carp <[email protected]> wrote: > Hi, > > I wasn't aware that MPC5200 differ from MPC5200B in this regard. I also > couldn't find any MPC5200 user manual on Freescale's webpage. > Is there a #define that I can use to distinguish between the two > processor variants? Querying the PVR register is not a nice solution > because the chip-select activate function is called in some scenarios > quite often.
Use the compatible value. That's what it is there for. Only use the extended register format if "fsl,mpc5200b-psc-spi" is present in the compatible list. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
