diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmc/dw_mmc.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/linux/mmc/dw_mmc.h b/include/linux/mmc/dw_mmc.h index 3f22c201ee3a..f08163198877 100644 --- a/include/linux/mmc/dw_mmc.h +++ b/include/linux/mmc/dw_mmc.h | |||
| @@ -166,11 +166,13 @@ struct dw_mci_dma_ops { | |||
| 166 | 166 | ||
| 167 | /* IP Quirks/flags. */ | 167 | /* IP Quirks/flags. */ |
| 168 | /* DTO fix for command transmission with IDMAC configured */ | 168 | /* DTO fix for command transmission with IDMAC configured */ |
| 169 | #define DW_MCI_QUIRK_IDMAC_DTO BIT(0) | 169 | #define DW_MCI_QUIRK_IDMAC_DTO BIT(0) |
| 170 | /* delay needed between retries on some 2.11a implementations */ | 170 | /* delay needed between retries on some 2.11a implementations */ |
| 171 | #define DW_MCI_QUIRK_RETRY_DELAY BIT(1) | 171 | #define DW_MCI_QUIRK_RETRY_DELAY BIT(1) |
| 172 | /* High Speed Capable - Supports HS cards (upto 50MHz) */ | 172 | /* High Speed Capable - Supports HS cards (upto 50MHz) */ |
| 173 | #define DW_MCI_QUIRK_HIGHSPEED BIT(2) | 173 | #define DW_MCI_QUIRK_HIGHSPEED BIT(2) |
| 174 | /* Unreliable card detection */ | ||
| 175 | #define DW_MCI_QUIRK_BROKEN_CARD_DETECTION BIT(3) | ||
| 174 | 176 | ||
| 175 | 177 | ||
| 176 | struct dma_pdata; | 178 | struct dma_pdata; |
| @@ -190,6 +192,8 @@ struct dw_mci_board { | |||
| 190 | u32 quirks; /* Workaround / Quirk flags */ | 192 | u32 quirks; /* Workaround / Quirk flags */ |
| 191 | unsigned int bus_hz; /* Bus speed */ | 193 | unsigned int bus_hz; /* Bus speed */ |
| 192 | 194 | ||
| 195 | unsigned int caps; /* Capabilities */ | ||
| 196 | |||
| 193 | /* delay in mS before detecting cards after interrupt */ | 197 | /* delay in mS before detecting cards after interrupt */ |
| 194 | u32 detect_delay_ms; | 198 | u32 detect_delay_ms; |
| 195 | 199 | ||
