dm: mmc: Support erase
authorSimon Glass <sjg@chromium.org>
Sat, 1 Oct 2016 20:43:17 +0000 (14:43 -0600)
committersjg <sjg@chromium.org>
Mon, 10 Oct 2016 03:36:27 +0000 (21:36 -0600)
commit561e624c350ee5c281da46d23aee70b0523d4d39
tree90b951a068b0d3282f24acf70428a85e944ae2a4
parentd5fe013ceefe72466f192fd17f1dae8ce29684ef
dm: mmc: Support erase

At present erase is not suported with CONFIG_DM_OPS. Add it so that MMC
devices can be erased.

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