From: Maya Erez Date: Thu, 18 Apr 2013 12:41:55 +0000 (+0300) Subject: mmc: card: Adding support for sanitize in eMMC 4.5 X-Git-Tag: v3.11-rc1~50^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=775a9362b5d7e006ff6bbec5cb9c9c9d5a751696;p=pandora-kernel.git mmc: card: Adding support for sanitize in eMMC 4.5 The sanitize support is added as a user-app ioctl call, and was removed from the block-device request, since its purpose is to be invoked not via File-System but by a user. This feature deletes the unmap memory region of the eMMC card, by writing to a specific register in the EXT_CSD. unmap region is the memory region that was previously deleted (by erase, trim or discard operation). In order to avoid timeout when sanitizing large-scale cards, the timeout for sanitize operation is 240 seconds. Signed-off-by: Yaniv Gardi Signed-off-by: Maya Erez Signed-off-by: Chris Ball --- Reading git-diff-tree failed