MPC5200b MMC over SPI into PSC6
grant.likely at secretlab.ca
Wed May 7 01:36:31 EST 2008
On Mon, May 5, 2008 at 12:12 PM, Fabio Tosetto <tosettofabio83 at libero.it> wrote:
> Hello, I have an embedded system with an on-board processor powerpc MPC5200B
> and Linux kernel 2.6.22,
> I must turn over to MMC SPI on the PSC6.
> First, I
> have enabled PSC6:
> in ../arch/ppc/platforms/lite5200.c added PSC6 in SPI mode
You're using arch/ppc which is depreciated. You should move to using
arch/powerpc (set ARCH=powerpc when compiling). Devices are then
enabled in the device tree source file
Many things have changed with MPC5200 support in the last year, you
should also use the latest kernel release (126.96.36.199 when it is
released. If you use 188.8.131.52, then there is a trivial bug in the psc
serial port driver that you'll need to fix. I'll include the link to
the patch below)
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
More information about the Linuxppc-dev