.. | .. |
---|
54 | 54 | * idle before writing to some registers. |
---|
55 | 55 | */ |
---|
56 | 56 | #define TMIO_MMC_HAS_IDLE_WAIT BIT(4) |
---|
57 | | -/* |
---|
58 | | - * A GPIO is used for card hotplug detection. We need an extra flag for this, |
---|
59 | | - * because 0 is a valid GPIO number too, and requiring users to specify |
---|
60 | | - * cd_gpio < 0 to disable GPIO hotplug would break backwards compatibility. |
---|
61 | | - */ |
---|
62 | | -#define TMIO_MMC_USE_GPIO_CD BIT(5) |
---|
63 | 57 | |
---|
64 | | -/* |
---|
65 | | - * Some controllers doesn't have over 0x100 register. |
---|
66 | | - * it is used to checking accessibility of |
---|
67 | | - * CTL_SD_CARD_CLK_CTL / CTL_CLK_AND_WAIT_CTL |
---|
68 | | - */ |
---|
69 | | -#define TMIO_MMC_HAVE_HIGH_REG BIT(6) |
---|
| 58 | +/* BIT(5) is unused */ |
---|
70 | 59 | |
---|
71 | 60 | /* |
---|
72 | 61 | * Some controllers have CMD12 automatically |
---|
.. | .. |
---|
90 | 79 | /* Some controllers have a CBSY bit */ |
---|
91 | 80 | #define TMIO_MMC_HAVE_CBSY BIT(11) |
---|
92 | 81 | |
---|
93 | | -/* Some controllers that support HS400 use use 4 taps while others use 8. */ |
---|
94 | | -#define TMIO_MMC_HAVE_4TAP_HS400 BIT(13) |
---|
95 | | - |
---|
96 | 82 | int tmio_core_mmc_enable(void __iomem *cnf, int shift, unsigned long base); |
---|
97 | 83 | int tmio_core_mmc_resume(void __iomem *cnf, int shift, unsigned long base); |
---|
98 | 84 | void tmio_core_mmc_pwr(void __iomem *cnf, int shift, int state); |
---|
.. | .. |
---|
111 | 97 | unsigned long capabilities2; |
---|
112 | 98 | unsigned long flags; |
---|
113 | 99 | u32 ocr_mask; /* available voltages */ |
---|
114 | | - unsigned int cd_gpio; |
---|
115 | 100 | int alignment_shift; |
---|
116 | 101 | dma_addr_t dma_rx_offset; |
---|
117 | 102 | unsigned int max_blk_count; |
---|