mmc-utils: Add eMMC erase command support
we have been using this erase feature for a while, but it is still not merged into the upstream mmc-utils. Especially, for the customer, every time when they update the mmc-utils, they should re-install this patch again, let's try to make this erase command upstreamed in the mmc-utils. We need to send 3 MMC commands and it is important that they stay in sequence. Therefore we are using MMC_IOC_MULTI_CMD. Co-developed-by:Bean Huo <beanhuo@micron.com> Signed-off-by:
Bean Huo <beanhuo@micron.com> Signed-off-by:
Kimito Sakata <kimito.sakata@oracle.com> Reviewed-by:
Kenneth Gibbons <kenny.gibbons@oracle.com> Reviewed-by:
Avri Altman <avri.altman@wdc.com> Link: https://lore.kernel.org/r/20210506191041.1178-1-oracleks043021@gmail.com Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org>
Please register or sign in to comment