]> git.ipfire.org Git - people/ms/u-boot.git/commit - drivers/mmc/mmc.c
dm: mmc: Add a way to use driver model for MMC operations
authorSimon Glass <sjg@chromium.org>
Mon, 13 Jun 2016 05:30:22 +0000 (23:30 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 11 Jul 2016 20:06:44 +0000 (14:06 -0600)
commit8ca51e51c182699ebc64b10660db3e03cb43cb54
tree4078d4757aa016c16beaaecc1bc9dc7836a0bb4e
parent7d1c8d99fd12ad1e879533075b87c908462c1fd3
dm: mmc: Add a way to use driver model for MMC operations

The driver model conversion for MMC has moved in small steps. The first step
was to have an MMC device (CONFIG_DM_MMC). The second was to use a child
block device (CONFIG_BLK). The final one is to use driver model for MMC
operations (CONFIG_DM_MMC_OP). Add support for this.

The immediate priority is to make all boards that use DM_MMC also use those
other two options. This will allow them to be removed.

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