MPC5200b MMC over SPI into PSC6
Grant Likely
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
arch/powerpc/boot/dts/lite5200b.dts.
Many things have changed with MPC5200 support in the last year, you
should also use the latest kernel release (2.6.25.2 when it is
released. If you use 2.6.25.1, 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)
Cheers,
g.
http://ozlabs.org/pipermail/linuxppc-dev/2008-April/055495.html
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
More information about the Linuxppc-dev
mailing list