dm: spl: mmc: Support CONFIG_BLK in SPL MMC
authorSimon Glass <sjg@chromium.org>
Mon, 13 Jun 2016 05:30:32 +0000 (23:30 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 11 Jul 2016 20:06:44 +0000 (14:06 -0600)
commit87bce4e5c0b55452d70830928b2d7b98fa24d4e3
tree6ee4825cc786fe61a336ba38a29687124961c899
parent4b00bdb7a471fc4414c3957726c3cf13c2ca3445
dm: spl: mmc: Support CONFIG_BLK in SPL MMC

Update the method of accessing the block device so that it works with
CONFIG_BLK enabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/spl/spl_mmc.c