dm: mmc: Implement the MMC functions for block devices
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 19:52:39 +0000 (13:52 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commit8ef761ed4cda2d078b3d8b098d105472cbad8fb5
treecd8038b690e2fdb47755f8b91a2e59f9313b3c68
parentf8b7752e8f42c6f0bb8725f2488e398c849a7bf4
dm: mmc: Implement the MMC functions for block devices

Implement the functions in mmc_legacy.c for driver-model block devices, so
that MMC can use driver model for these. This allows CONFIG_BLK to be enabled
with DM_MMC.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/Makefile
drivers/mmc/mmc-uclass.c