From 1dbf78b64cbc102b943df2335ff83d2bef654b99 Mon Sep 17 00:00:00 2001 From: Andrei Warkentin Date: Wed, 6 Apr 2011 16:30:00 -0500 Subject: MMC: Fix erase/trim for certain SanDisk cards. CMD38 argument is passed through EXT_CSD[113]. Change-Id: I47e9d5e2cf44d9274a65a3b1955026185cb8f2b8 Signed-off-by: Andrei Warkentin --- include/linux/mmc/card.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 */ -- cgit v1.2.3