
14 May
2016
14 May
'16
9:38 p.m.
On 1 May 2016 at 13:52, Simon Glass sjg@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@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.