]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: mmc: Add support for driver-model block devices
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 19:52:41 +0000 (13:52 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commit33fb211dd2706e666db4008801dc0d5903fd82f6
tree5d29a3fea60d78047d2afa7b884c667ac84c35ad
parentad27dd5e13436b554f0f3cb9cd3e79634494072d
dm: mmc: Add support for driver-model block devices

Add support for enabling CONFIG_BLK with MMC. This involves changing a
few functions to use struct udevice and adding a MMC block device driver.

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