commit | fcc53c1c1313aeeac5b8fd521ba4cd801352526d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Oct 01 14:43:17 2016 -0600 |
committer | sjg <sjg@chromium.org> | Sun Oct 09 21:36:27 2016 -0600 |
tree | 90b951a068b0d3282f24acf70428a85e944ae2a4 | |
parent | fb197a834bcd6c605cb509f105549a244b4011fe [diff] [blame] |
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>
diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c index 425abb1..77424cd 100644 --- a/drivers/mmc/mmc-uclass.c +++ b/drivers/mmc/mmc-uclass.c
@@ -262,6 +262,7 @@ .read = mmc_bread, #ifndef CONFIG_SPL_BUILD .write = mmc_bwrite, + .erase = mmc_berase, #endif .select_hwpart = mmc_select_hwpart, };