mmc: use block layer in mmc command
authorEric Nelson <eric@nelint.com>
Sun, 27 Mar 2016 19:00:14 +0000 (12:00 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2016 21:18:28 +0000 (17:18 -0400)
commitbcfde7ffb0beff80dc9e2f689099b813f5f0e052
treeedeacfc551067c2f6336b76a843dd62d56200027
parente40cf34a29f1b248643731a11fb1c6f0520d016c
mmc: use block layer in mmc command

Call blk_dread, blk_dwrite, blk_derase to ensure that the block cache is
used if enabled and to remove build breakage when CONFIG_BLK is enabled.

Signed-off-by: Eric Nelson <eric@nelint.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
cmd/mmc.c