[U-Boot] [PATCH 1/3] mmc: Remove ops from struct mmc and put in mmc_ops
Simon Glass
sjg at chromium.org
Fri Mar 14 21:53:51 CET 2014
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.
Regards,
Simon
>
> All in-tree drivers are converted as well; this is done in a
> single patch in order to not break git bisect.
>
> Changes since V1:
> Fix compilation b0rked issue on omap platforms where OMAP_GPIO was
> not set.
>
> Signed-off-by: Pantelis Antoniou <panto at antoniou-consulting.com>
More information about the U-Boot
mailing list