[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <48354E2B.8010003@libero.it>
Date: Thu, 22 May 2008 12:42:51 +0200
From: Fabio Tosetto <tosettofabio83@...ero.it>
To: linuxppc-dev@...abs.org
CC: avorontsov@...mvista.com, drzeus-mmc@...eus.cx,
linux-kernel@...r.kernel.org, dbrownell@...rs.sourceforge.net,
spi-devel-general@...ts.sourceforge.net, galak@...nel.crashing.org,
garyj@...x.de, g.liakhovetski@....de
Subject: SD-MMC over SPI on PSC6
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.
The MMC over SPI is connected to MPC5200b, here's how:
MPC5200B
----------------
|
|------------------
PSC1_2 |--->------------Chip_Select (out)---------|
| |
|
| SD CARD
ETH_17 |---<------------IRQ (in)------------------| MMC over SPI
|
|
| |
PSC6_0 |---<------------SPI_RXD (in)------------|
| |
| |
PSC6_2 |--->------------SPI_TXD (out)-----------|
|
|
|
|
PSC6_3 |--->------------SPI_CLK (out)-----------|
|
|------------------
----------------
Now on the menuconfig enabling these options:
$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- menuconfig
Platform support --->
[*] MPC5200 (L25R) bugfix support
[*] Freescale Lite5200 Eval Board
Device Drivers ---> SPI Support --->
[*] SPI support
<*> Freescale MPC52xx PSC SPI controller
Now I have applied those patch:
http://www.mail-archive.com/spi-devel-general@lists.sourceforge.net/msg00150.html
Now on the menuconfig enabling these options:
$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- menuconfig
Device Drivers ---> MMC/SD card support --->
[*] MMC debugging
<*> MMC block device driver
<*> MMC host test driver
<*> MMC/SD over SPI
Is correct applied those patch and enable those options into menuconfig?
thanks Fabio
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists