[U-Boot] [PATCH v2 16/24] dm: mmc: Adjust mmc_switch_part() to use a struct mmc

Simon Glass sjg at chromium.org
Sat May 14 21:38:15 CEST 2016


On 1 May 2016 at 13:52, Simon Glass <sjg at chromium.org> wrote:
> Instead of looking up the MMC device by number, just pass it in. This makes
> it possible to use this function with driver model.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  drivers/mmc/mmc.c | 12 ++++--------
>  1 file changed, 4 insertions(+), 8 deletions(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list