|
@@ -50,6 +50,9 @@
|
|
|
tmio_iowrite16((val) >> 16, (base) + ((reg + 2) << (shift))); \
|
|
|
} while (0)
|
|
|
|
|
|
+/* tmio MMC platform flags */
|
|
|
+#define TMIO_MMC_WRPROTECT_DISABLE (1 << 0)
|
|
|
+
|
|
|
int tmio_core_mmc_enable(void __iomem *cnf, int shift, unsigned long base);
|
|
|
int tmio_core_mmc_resume(void __iomem *cnf, int shift, unsigned long base);
|
|
|
void tmio_core_mmc_pwr(void __iomem *cnf, int shift, int state);
|
|
@@ -66,6 +69,7 @@ struct tmio_mmc_dma {
|
|
|
struct tmio_mmc_data {
|
|
|
unsigned int hclk;
|
|
|
unsigned long capabilities;
|
|
|
+ unsigned long flags;
|
|
|
struct tmio_mmc_dma *dma;
|
|
|
void (*set_pwr)(struct platform_device *host, int state);
|
|
|
void (*set_clk_div)(struct platform_device *host, int state);
|