[U-Boot] [PATCH v5 1/4] mmc: mmc_spi: Use SPI_XFER_BEGIN and SPI_XFER_END flags

Jagan Teki jagan at amarulasolutions.com
Wed Jul 17 04:10:14 UTC 2019


Hi Peng,

On Wed, Jul 17, 2019 at 9:34 AM Jagan Teki <jagan at amarulasolutions.com> wrote:
>
> On Wed, Jul 17, 2019 at 9:20 AM Anup Patel <Anup.Patel at wdc.com> wrote:
> >
> > Most DM based SPI host controller drivers use SPI_XFER_BEGIN and
> > SPI_XFER_END flags to enable/disable slave chip select.
> >
> > This patch extends MMC SPI driver to pass SPI_XFER_BEGIN flag when
> > MMC command is send at start and pass SPI_XFER_END flag using a
> > dummy transfer (of bitlen = 0) at the end of MMC command.
> >
> > Suggested-by: Jagan Teki <jagan at amarulasolutions.com>
> > Signed-off-by: Anup Patel <anup.patel at wdc.com>
>
> Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>

Would like to pick this via spi tree, let me know if it fine for you?


More information about the U-Boot mailing list