Re: [PATCH v4 03/10] mmc: enable CMD23 for multi-block transfers

Eric Chung <[email protected]> Mon, 20 Jul 2026 18:44:04 +0800
Newsgroups de.denx.lists.u-boot
Message-ID <CAH22mJx2f1V3JE0Lt4SJY4qh-T9i2i1jGFs3CK1Sbc7H3SxP3g@mail.gmail.com>
On Mon, Jul 20, 2026 at 6:42=E2=80=AFPM Eric Chung <[email protected]=
> wrote:
>
> On Mon, Jul 20, 2026 at 1:13=E2=80=AFAM Yao Zi <[email protected]> wrote:
> >
> > On Tue, Jul 07, 2026 at 11:21:44PM +0800, Eric Chung wrote:
> > > Enable the 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.
> >
> > From the description, it seems CMD23 support isn't essential for MMC
> > support on SpacemiT K1? If so, it might be helpful to separate MMC
> > core changes into another series, and focus on basic support only. A
> > smaller series is easier to track and review.
> >
> Actually CMD23 is necessary for Spacemit K1. So I can't split it from
> this series.
>
If I use ADMA mode, CMD23 is required. If I'm using PIO mode, CMD23 isn't
required. So I prefer it go through this series.

If the reason isn't solid, I can split it into another patch set.

Best Regards
Eric