generic mmc_spi driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 4 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/4] generic mmc_spi driver
Quoted 22 lines · On Wednesday, April 13, 2011 06:17:43 Andy Fleming wrote:
Quoted 12 lines · Mike Frysinger
Quoted 11 lines · On Friday, December 24, 2010 02:16:05 Thomas Chou wrote:
This is the v9 update of the
mmc_spidriver. Please enable DEBUG on the top ofmmc_spi.cand help me perform the tests.A new
spi_set_speed()is added to meet the 400KHz clock requirement during mmc card initialization. An example update tobfin_spiis included. Thealtera_spicore does not support speed change, so I am going to post a new opencore ip for this.The driver now claims and releases the spi bus for each mmc command, as Mike suggested.
Quoted 8 lines
Quoted 5 lines
Thomas Chou (4):
lib: add crc7 from Linux
spi: addspi_set_speedfunc
bfin_spi: addspi_set_speed
mmc: add generic mmc spi driverAndy: i think we've hit a fairly stable point. could you merge this now ?
Quoted 9 lines
I'm going to merge this, but I'll note that the reason you had to run mmcinfo before this will work is because this code never invoks
mmc_init(). If you look at the mmc command incommon/cmd_mmc.c, and see how the various sub-commands operate (underGENERIC_MMC), all of them callmmc_init()before running the command. It's suboptimal in terms of performance, but has the advantage of being robust and actually detecting if you put a card in, or took one out. If someone could find the appropriate places to callmmc_init(mmc), I'll be happy to also merge in the follow-up patch.
i hope Thomas can do that :)
Quoted 3 lines
Also, I'm assuming, at the moment, that this supersedes the legacy
mmc_spipatch you submitted earlier? If not, I'll put that in, now, too.
correct, the legacy mmc_spi code is hopefully no longer needed
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110413/ea65099d/attachment.pgp