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

Eric Chung eric.chung at riscstar.com
Sun Jul 5 17:21:05 CEST 2026


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