[U-Boot] [PATCH v2 19/24] dm: mmc: Add a way to bind MMC devices with driver model

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


On 1 May 2016 at 13:52, Simon Glass <sjg at chromium.org> wrote:
> Binding an MMC device when CONFIG_BLK is enabled requires that a block
> device be bound as a child of the MMC device. Add a function to do this.
> The mmc_create() method will be used only when DM_BLK is disabled.
>
> Add an unbind method also.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  drivers/mmc/mmc.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
>  include/mmc.h     | 22 ++++++++++++++++++++++
>  2 files changed, 70 insertions(+)

Applied to u-boot-dm.


More information about the U-Boot mailing list