From: Fabio Tosetto <tosettofabio83-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org>
To: linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org
Cc: dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
garyj-ynQEQJNshbs@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
g.liakhovetski-Mmb7MZpHnFY@public.gmane.org,
drzeus-mmc-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org
Subject: SD-MMC over SPI on PSC6
Date: Thu, 22 May 2008 12:42:51 +0200 [thread overview]
Message-ID: <48354E2B.8010003@libero.it> (raw)
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/
next reply other threads:[~2008-05-22 10:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-22 10:42 Fabio Tosetto [this message]
2008-05-23 2:02 ` SD-MMC over SPI on PSC6 David Brownell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48354E2B.8010003@libero.it \
--to=tosettofabio83-vggt2q2+t+feowh0uzbu5w@public.gmane.org \
--cc=dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=drzeus-mmc-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org \
--cc=g.liakhovetski-Mmb7MZpHnFY@public.gmane.org \
--cc=garyj-ynQEQJNshbs@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org \
--cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).