diff options
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index 71a4a7ed46c5..a6d69b7bdea2 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h | |||
@@ -120,6 +120,7 @@ | |||
120 | #define SDHCI_SIGNAL_ENABLE 0x38 | 120 | #define SDHCI_SIGNAL_ENABLE 0x38 |
121 | #define SDHCI_INT_RESPONSE 0x00000001 | 121 | #define SDHCI_INT_RESPONSE 0x00000001 |
122 | #define SDHCI_INT_DATA_END 0x00000002 | 122 | #define SDHCI_INT_DATA_END 0x00000002 |
123 | #define SDHCI_INT_BLK_GAP 0x00000004 | ||
123 | #define SDHCI_INT_DMA_END 0x00000008 | 124 | #define SDHCI_INT_DMA_END 0x00000008 |
124 | #define SDHCI_INT_SPACE_AVAIL 0x00000010 | 125 | #define SDHCI_INT_SPACE_AVAIL 0x00000010 |
125 | #define SDHCI_INT_DATA_AVAIL 0x00000020 | 126 | #define SDHCI_INT_DATA_AVAIL 0x00000020 |
@@ -146,7 +147,8 @@ | |||
146 | #define SDHCI_INT_DATA_MASK (SDHCI_INT_DATA_END | SDHCI_INT_DMA_END | \ | 147 | #define SDHCI_INT_DATA_MASK (SDHCI_INT_DATA_END | SDHCI_INT_DMA_END | \ |
147 | SDHCI_INT_DATA_AVAIL | SDHCI_INT_SPACE_AVAIL | \ | 148 | SDHCI_INT_DATA_AVAIL | SDHCI_INT_SPACE_AVAIL | \ |
148 | SDHCI_INT_DATA_TIMEOUT | SDHCI_INT_DATA_CRC | \ | 149 | SDHCI_INT_DATA_TIMEOUT | SDHCI_INT_DATA_CRC | \ |
149 | SDHCI_INT_DATA_END_BIT | SDHCI_INT_ADMA_ERROR) | 150 | SDHCI_INT_DATA_END_BIT | SDHCI_INT_ADMA_ERROR | \ |
151 | SDHCI_INT_BLK_GAP) | ||
150 | #define SDHCI_INT_ALL_MASK ((unsigned int)-1) | 152 | #define SDHCI_INT_ALL_MASK ((unsigned int)-1) |
151 | 153 | ||
152 | #define SDHCI_ACMD12_ERR 0x3C | 154 | #define SDHCI_ACMD12_ERR 0x3C |
@@ -278,6 +280,7 @@ struct sdhci_ops { | |||
278 | void (*hw_reset)(struct sdhci_host *host); | 280 | void (*hw_reset)(struct sdhci_host *host); |
279 | void (*platform_suspend)(struct sdhci_host *host); | 281 | void (*platform_suspend)(struct sdhci_host *host); |
280 | void (*platform_resume)(struct sdhci_host *host); | 282 | void (*platform_resume)(struct sdhci_host *host); |
283 | void (*adma_workaround)(struct sdhci_host *host, u32 intmask); | ||
281 | void (*platform_init)(struct sdhci_host *host); | 284 | void (*platform_init)(struct sdhci_host *host); |
282 | }; | 285 | }; |
283 | 286 | ||