summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrei Warkentin <andreiw@motorola.com>2011-04-06 16:30:00 -0500
committerKen Sumrall <ksumrall@android.com>2011-04-07 17:53:33 -0700
commit1dbf78b64cbc102b943df2335ff83d2bef654b99 (patch)
treef1680a53a43c72a85f34df038c64615cb5bfb566 /include
parent6557be14ed402fef6d90dfdb66152be0610b8ccc (diff)
MMC: Fix erase/trim for certain SanDisk cards.
CMD38 argument is passed through EXT_CSD[113]. Change-Id: I47e9d5e2cf44d9274a65a3b1955026185cb8f2b8 Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmc/card.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h
index c1817f468c5e..13fe335fe653 100644
--- a/include/linux/mmc/card.h
+++ b/include/linux/mmc/card.h
@@ -120,6 +120,7 @@ struct mmc_card {
/* for byte mode */
#define MMC_QUIRK_NONSTD_SDIO (1<<2) /* non-standard SDIO card attached */
/* (missing CIA registers) */
+#define MMC_QUIRK_INAND_CMD38 (1<<3) /* iNAND devices have broken CMD38 */
unsigned int erase_size; /* erase size in sectors */
unsigned int erase_shift; /* if erase unit is power 2 */