[U-Boot] [PATCH v3 3/6] mmc: mmc_spi: Re-write driver using DM framework

Peng Fan peng.fan at nxp.com
Thu Jul 11 07:10:13 UTC 2019


Hi Bin

> Subject: Re: [PATCH v3 3/6] mmc: mmc_spi: Re-write driver using DM
> framework
> 
> Hi Peng,
> 
> On Thu, Jul 11, 2019 at 2:36 PM Peng Fan <peng.fan at nxp.com> wrote:
> >
> > Hi Anup,
> >
> > > Subject: [PATCH v3 3/6] mmc: mmc_spi: Re-write driver using DM
> > > framework
> > >
> > > From: Bhargav Shah <bhargavshah1988 at gmail.com>
> > >
> > > This patch rewrites MMC SPI driver using U-Boot DM framework and get
> > > it's working on SiFive Unleashed board.
> >
> > So you drop the non-DM part, I saw there are still one user
> > ./include/configs/UCP1020.h:441:#define CONFIG_MMC_SPI
> >
> > Will this switching to DM break that?
> >
> 
> This is addressed by the next patch in this series, by removing all non-DM stuff
> from UCP1020 board as that board does not support DM at all.

Not related to the UCP1020 board.
But SPL_DM is not a must, so removing the non-DM support will break non DM SPL
I understand there might be users now, but is it really good to totally remove
the non-DM code?

Regards,
Peng.
> 
> Regards,
> Bin


More information about the U-Boot mailing list