All of lore.kernel.org
 help / color / mirror / Atom feed
* eMMC wipe
@ 2020-01-15 19:34 Ismael Rangel
  0 siblings, 0 replies; only message in thread
From: Ismael Rangel @ 2020-01-15 19:34 UTC (permalink / raw)
  To: u-boot

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: <https://lists.denx.de/pipermail/u-boot/attachments/20200115/7b58bde4/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 190229 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200115/7b58bde4/attachment-0003.jpg>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-15 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-15 19:34 eMMC wipe Ismael Rangel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.