
15 Jan
2020
15 Jan
'20
8:34 p.m.
Hi,
Current U-Boot repo supports eMMC erase command with argument 0x00000000 (MMC_ERASE_ARG).
https://github.com/u-boot/u-boot/blob/master/drivers/mmc/mmc_write.c#L53
cmd.cmdidx = MMC_CMD_ERASE;
cmd.cmdarg = MMC_ERASE_ARG;
cmd.resp_type = MMC_RSP_R1b;
Argument 0x80000000 (MMC_SECURE_ERASE_ARG) is also defined but is not used in any function.
Latest eMMC 5.1 devices support a few more data wipe and reorder features e.g. Trim, Discard and Sanitize. Is there any plan to add these features?
Thanks,
Ismael.