diff options
Diffstat (limited to 'drivers/mmc/host/mmci.h')
-rw-r--r-- | drivers/mmc/host/mmci.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/mmc/host/mmci.h b/drivers/mmc/host/mmci.h index 68970cfb81e1..4ae887fc0189 100644 --- a/drivers/mmc/host/mmci.h +++ b/drivers/mmc/host/mmci.h | |||
@@ -54,10 +54,16 @@ | |||
54 | #define MCI_DPSM_MODE (1 << 2) | 54 | #define MCI_DPSM_MODE (1 << 2) |
55 | #define MCI_DPSM_DMAENABLE (1 << 3) | 55 | #define MCI_DPSM_DMAENABLE (1 << 3) |
56 | #define MCI_DPSM_BLOCKSIZE (1 << 4) | 56 | #define MCI_DPSM_BLOCKSIZE (1 << 4) |
57 | #define MCI_DPSM_RWSTART (1 << 8) | 57 | /* Control register extensions in the ST Micro U300 and Ux500 versions */ |
58 | #define MCI_DPSM_RWSTOP (1 << 9) | 58 | #define MCI_ST_DPSM_RWSTART (1 << 8) |
59 | #define MCI_DPSM_RWMOD (1 << 10) | 59 | #define MCI_ST_DPSM_RWSTOP (1 << 9) |
60 | #define MCI_DPSM_SDIOEN (1 << 11) | 60 | #define MCI_ST_DPSM_RWMOD (1 << 10) |
61 | #define MCI_ST_DPSM_SDIOEN (1 << 11) | ||
62 | /* Control register extensions in the ST Micro Ux500 versions */ | ||
63 | #define MCI_ST_DPSM_DMAREQCTL (1 << 12) | ||
64 | #define MCI_ST_DPSM_DBOOTMODEEN (1 << 13) | ||
65 | #define MCI_ST_DPSM_BUSYMODE (1 << 14) | ||
66 | #define MCI_ST_DPSM_DDRMODE (1 << 15) | ||
61 | 67 | ||
62 | #define MMCIDATACNT 0x030 | 68 | #define MMCIDATACNT 0x030 |
63 | #define MMCISTATUS 0x034 | 69 | #define MMCISTATUS 0x034 |
@@ -133,13 +139,6 @@ | |||
133 | MCI_DATATIMEOUTMASK|MCI_TXUNDERRUNMASK|MCI_RXOVERRUNMASK| \ | 139 | MCI_DATATIMEOUTMASK|MCI_TXUNDERRUNMASK|MCI_RXOVERRUNMASK| \ |
134 | MCI_CMDRESPENDMASK|MCI_CMDSENTMASK|MCI_DATABLOCKENDMASK) | 140 | MCI_CMDRESPENDMASK|MCI_CMDSENTMASK|MCI_DATABLOCKENDMASK) |
135 | 141 | ||
136 | /* | ||
137 | * The size of the FIFO in bytes. | ||
138 | */ | ||
139 | #define MCI_FIFOSIZE (16*4) | ||
140 | |||
141 | #define MCI_FIFOHALFSIZE (MCI_FIFOSIZE / 2) | ||
142 | |||
143 | #define NR_SG 16 | 142 | #define NR_SG 16 |
144 | 143 | ||
145 | struct clk; | 144 | struct clk; |
@@ -154,6 +153,7 @@ struct mmci_host { | |||
154 | struct clk *clk; | 153 | struct clk *clk; |
155 | int gpio_cd; | 154 | int gpio_cd; |
156 | int gpio_wp; | 155 | int gpio_wp; |
156 | int gpio_cd_irq; | ||
157 | 157 | ||
158 | unsigned int data_xfered; | 158 | unsigned int data_xfered; |
159 | 159 | ||