dm: mmc: sdhci: Support CONFIG_BLK and CONFIG_DM_MMC_OPS
authorSimon Glass <sjg@chromium.org>
Mon, 13 Jun 2016 05:30:28 +0000 (23:30 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 11 Jul 2016 20:06:44 +0000 (14:06 -0600)
commitef1e4eda6b4ef2077a943b638b33f95d715062ae
treee33e2f4d6e0e6bfde8ef5757419f09be17ec824c
parent2a809093f0e2b243565abb27fc37b6d881c4157f
dm: mmc: sdhci: Support CONFIG_BLK and CONFIG_DM_MMC_OPS

Add support for using driver model for block devices and MMC operations in
this driver.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/sdhci.c
include/sdhci.h