Skip to content
Snippets Groups Projects
Commit ad27dd5e authored by Simon Glass's avatar Simon Glass
Browse files

dm: mmc: Add a way to bind MMC devices with driver model


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: default avatarSimon Glass <sjg@chromium.org>
parent 8ef761ed
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment