[U-Boot] [RFC] mmc: Remove ops from struct mmc and put in mmc_ops

Marek Vasut marex at denx.de
Mon Mar 3 11:04:40 CET 2014


On Wednesday, February 26, 2014 at 06:52:24 PM, Pantelis Antoniou 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).
> 
> All in-tree drivers are converted as well; this is done in a
> single patch in order to not break git bisect.
> 
> Signed-off-by: Pantelis Antoniou <panto at antoniou-consulting.com>

f_min, voltages ... are also slot-specific , so you want to pull them out as 
well I think.

Best regards,
Marek Vasut


More information about the U-Boot mailing list