[U-Boot] [PATCH 1/3] mmc: Remove ops from struct mmc and put in mmc_ops

Marek Vasut marex at denx.de
Sat Mar 15 00:10:15 CET 2014


On Friday, March 14, 2014 at 09:53:51 PM, Simon Glass wrote:
> Hi,
> 
> On 12 March 2014 04:24, Pantelis Antoniou <panto at antoniou-consulting.com> 
wrote:
> > Remove the in-structure ops and put them in mmc_ops with
> > a constant pointer to it.
> > 
> > This makes the mmc structure smaller as well as conserving
> > code space (in theory).
> 
> You might be able to run buildman (and use -S) to check this.
> 
> These changes look good to me, and will make it easier to move to
> driver model I suspect.

Full ack on the driver model part.

Best regards,
Marek Vasut


More information about the U-Boot mailing list