linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SD-MMC over SPI on PSC6
@ 2008-05-22 10:42 Fabio Tosetto
  2008-05-23  2:02 ` David Brownell
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Tosetto @ 2008-05-22 10:42 UTC (permalink / raw)
  To: linuxppc-dev-mnsaURCQ41sdnm+yROfE0A
  Cc: dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f, garyj-ynQEQJNshbs,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	g.liakhovetski-Mmb7MZpHnFY, drzeus-mmc-p3sGCRWkH8CeZLLa646FqQ

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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org/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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: SD-MMC over SPI on PSC6
  2008-05-22 10:42 SD-MMC over SPI on PSC6 Fabio Tosetto
@ 2008-05-23  2:02 ` David Brownell
  0 siblings, 0 replies; 2+ messages in thread
From: David Brownell @ 2008-05-23  2:02 UTC (permalink / raw)
  To: Fabio Tosetto
  Cc: linuxppc-dev, avorontsov, drzeus-mmc, linux-kernel,
	spi-devel-general, galak, garyj, g.liakhovetski

On Thursday 22 May 2008, Fabio Tosetto wrote:
> <*> MMC host test driver

Unwise unless you really want to trash every MMC or SD card
you insert ...


You might consider not crossposting to such a large proportion
of the free world, by the way.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-23  2:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-22 10:42 SD-MMC over SPI on PSC6 Fabio Tosetto
2008-05-23  2:02 ` David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).