[RFC 0/2] mpc5200: eliminate direct manipulation of shared registers from SPI driver

Grant Likely grant.likely at secretlab.ca
Tue Jan 8 06:03:30 EST 2008

The mpc5200 PSC SPI driver driver directly manipulates the port_config
and the CDM registers on the mpc5200 which it should not do.  port_config
should only be manipulated from within the board specific platform code
and the CDM registers are shared between multiple devices.

This patch eliminates the port_config manipulations and adds a common
routine for adjusting CDM settings.  Boards using the SPI driver will
need to add the required port_config changes to either the boot firmware
or the platform code.

If there are no objections, I plan to ask Paulus to merge these in the
next couple of days.


Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.

More information about the Linuxppc-dev mailing list