On Sat, Apr 16, 2011 at 1:43 AM, Nath, Arindam <arindam.n...@amd.com> wrote: >> and >> then sending the CMD23 for multi block read/write. MMC cards also >> supports >> CMD23 so in that case again you have to check MMC EXT_CSD register for >> CMD23 > > Yes, you are right. I followed the Physical Layer Spec v3.01 as is, so in > case the support is needed for MMC cards, we will need to take care of that > too.
It's already done. In the block layer. All you need to do is honor mmc_request->sbc and set Auto-CMD23 and the CMD23 argument. >> support. All this logic is better be in core/block layer and let >> core/block >> layer inform host controller when to send CMD23 and when not to. > > Well in that case, Auto CMD23 will never make sense. I am unsure why you think that. All Auto CMD23 means is that instead of manually sending CMD23 (and incurring the extra interrupt penalty), I have the host automatically do it. But this feature should only be enabled when upper layers care to enabled it. This is what the CMD23 support plumbed in. A -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html