From: Ismael Rangel Date: Wed, 15 Jan 2020 11:34:33 -0800 (PST) Subject: eMMC wipe Message-ID: <4d31ddc8-703b-42f4-a938-739cc9840418@default> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 250514 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 190229 bytes Desc: not available URL: