diff options
Diffstat (limited to 'drivers/mmc/host/dw_mmc.h')
-rw-r--r-- | drivers/mmc/host/dw_mmc.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h index 01b99e8a9190..0d0f7a271d63 100644 --- a/drivers/mmc/host/dw_mmc.h +++ b/drivers/mmc/host/dw_mmc.h | |||
@@ -55,6 +55,17 @@ | |||
55 | #define SDMMC_BUFADDR 0x098 | 55 | #define SDMMC_BUFADDR 0x098 |
56 | #define SDMMC_CDTHRCTL 0x100 | 56 | #define SDMMC_CDTHRCTL 0x100 |
57 | #define SDMMC_DATA(x) (x) | 57 | #define SDMMC_DATA(x) (x) |
58 | /* | ||
59 | * Registers to support idmac 64-bit address mode | ||
60 | */ | ||
61 | #define SDMMC_DBADDRL 0x088 | ||
62 | #define SDMMC_DBADDRU 0x08c | ||
63 | #define SDMMC_IDSTS64 0x090 | ||
64 | #define SDMMC_IDINTEN64 0x094 | ||
65 | #define SDMMC_DSCADDRL 0x098 | ||
66 | #define SDMMC_DSCADDRU 0x09c | ||
67 | #define SDMMC_BUFADDRL 0x0A0 | ||
68 | #define SDMMC_BUFADDRU 0x0A4 | ||
58 | 69 | ||
59 | /* | 70 | /* |
60 | * Data offset is difference according to Version | 71 | * Data offset is difference according to Version |
@@ -214,7 +225,7 @@ extern int dw_mci_resume(struct dw_mci *host); | |||
214 | * with CONFIG_MMC_CLKGATE. | 225 | * with CONFIG_MMC_CLKGATE. |
215 | * @flags: Random state bits associated with the slot. | 226 | * @flags: Random state bits associated with the slot. |
216 | * @id: Number of this slot. | 227 | * @id: Number of this slot. |
217 | * @last_detect_state: Most recently observed card detect state. | 228 | * @sdio_id: Number of this slot in the SDIO interrupt registers. |
218 | */ | 229 | */ |
219 | struct dw_mci_slot { | 230 | struct dw_mci_slot { |
220 | struct mmc_host *mmc; | 231 | struct mmc_host *mmc; |
@@ -234,7 +245,7 @@ struct dw_mci_slot { | |||
234 | #define DW_MMC_CARD_PRESENT 0 | 245 | #define DW_MMC_CARD_PRESENT 0 |
235 | #define DW_MMC_CARD_NEED_INIT 1 | 246 | #define DW_MMC_CARD_NEED_INIT 1 |
236 | int id; | 247 | int id; |
237 | int last_detect_state; | 248 | int sdio_id; |
238 | }; | 249 | }; |
239 | 250 | ||
240 | struct dw_mci_tuning_data { | 251 | struct dw_mci_tuning_data { |