[PATCH v3 3/9] mmc: sdhci: enable CMD23 for multi-block transfers

Kathpalia, Tanmay tanmay.kathpalia at altera.com
Sun Jul 5 20:28:22 CEST 2026


Hi Eric,

Glad the review feedback was useful.

I have some SD/eMMC spec background that could help make
the CMD23 implementation more complete. If you're
interested, I'd be happy to collaborate on the implementation
before you post v4.

Let me know.

Regards,
Tanmay Kathpalia


On 7/5/2026 8:51 PM, Eric Chung wrote:
> On Sun, Jul 5, 2026 at 5:52 PM Kathpalia, Tanmay
> <tanmay.kathpalia at altera.com> wrote:
>>
>> On 7/5/2026 11:37 AM, Eric Chung wrote:
>>> Enable the host controller's support for the CMD23 (SET_BLOCK_COUNT)
>>> command to manage multi-block read/write operations. This allows the
>>> MMC core to use CMD23 in preference to the legacy CMD18/CMD25 plus
>>> CMD12 sequence, reducing command overhead and improving I/O
>>> performance on multi-block transfers.
>> The commit message claims this enables "host controller" support, but the
>> changes are entirely in the MMC core (mmc.c) and header. No SDHCI host
>> driver sets MMC_CAP_CMD23 in this patch. mmc_write_blocks() in
>> mmc_write.c is not touched. CMD25 still always follows with CMD12.
>>
> Thanks. I'll apply all fixes.


More information about the U-Boot mailing list