mmc: Split mmc struct, rework mmc initialization (v2)
[oweals/u-boot.git] / include / dwmmc.h
index 6c91143e96e37b5dd45594087fceaa277057e70d..c9bdf51a6718fd7638f4168f324d6592bc63febb 100644 (file)
@@ -141,7 +141,10 @@ struct dwmci_host {
        struct mmc *mmc;
 
        void (*clksel)(struct dwmci_host *host);
-       unsigned int (*get_mmc_clk)(int dev_index);
+       void (*board_init)(struct dwmci_host *host);
+       unsigned int (*get_mmc_clk)(struct dwmci_host *host);
+
+       struct mmc_config cfg;
 };
 
 struct dwmci_idmac {