Re: [PATCH] mmc sdhci i.MX5: make mmc cards work

2012-03-02 Thread Chris Ball
Hi, On Mon, Feb 20 2012, Shawn Guo wrote: > On 21 February 2012 02:41, Sascha Hauer wrote: >> On Mon, Feb 20, 2012 at 02:31:36PM +0800, Shawn Guo wrote: >>> I do not have a mmc card to test the patch, but I tested it and >>> confirmed it does not break anything about SD support. >>> >>> On Fri, F

Re: [PATCH] mmc sdhci i.MX5: make mmc cards work

2012-02-20 Thread Shawn Guo
On 21 February 2012 02:41, Sascha Hauer wrote: > On Mon, Feb 20, 2012 at 02:31:36PM +0800, Shawn Guo wrote: >> I do not have a mmc card to test the patch, but I tested it and >> confirmed it does not break anything about SD support. >> >> On Fri, Feb 17, 2012 at 11:51:49AM +0100, Sascha Hauer wrot

Re: [PATCH] mmc sdhci i.MX5: make mmc cards work

2012-02-20 Thread Sascha Hauer
On Mon, Feb 20, 2012 at 02:31:36PM +0800, Shawn Guo wrote: > I do not have a mmc card to test the patch, but I tested it and > confirmed it does not break anything about SD support. > > On Fri, Feb 17, 2012 at 11:51:49AM +0100, Sascha Hauer wrote: > > On i.MX53 we have to write a special SDHCI_CMD

Re: [PATCH] mmc sdhci i.MX5: make mmc cards work

2012-02-19 Thread Shawn Guo
I do not have a mmc card to test the patch, but I tested it and confirmed it does not break anything about SD support. On Fri, Feb 17, 2012 at 11:51:49AM +0100, Sascha Hauer wrote: > On i.MX53 we have to write a special SDHCI_CMD_ABORTCMD to the Is this i.MX53 only? > SDHCI_TRANSFER_MODE registe

[PATCH] mmc sdhci i.MX5: make mmc cards work

2012-02-17 Thread Sascha Hauer
On i.MX53 we have to write a special SDHCI_CMD_ABORTCMD to the SDHCI_TRANSFER_MODE register during a MMC_STOP_TRANSMISSION command. This works for SD cards. However, with MMC cards the MMC_SET_BLOCK_COUNT command is used instead, but this needs the same handling. Fix MMC cards by testing for the MM