]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mmc/arm_pl180_mmci.h
mmc: Split mmc struct, rework mmc initialization (v2)
[people/ms/u-boot.git] / drivers / mmc / arm_pl180_mmci.h
index 72344498d651b777759c0e60f41155f255c9ac35..f23bd391eed1c5ce91af4ee59a8c992c69ff65e9 100644 (file)
@@ -13,6 +13,9 @@
 #ifndef __ARM_PL180_MMCI_H__
 #define __ARM_PL180_MMCI_H__
 
+/* need definition of struct mmc_config */
+#include <mmc.h>
+
 #define COMMAND_REG_DELAY      300
 #define DATA_REG_DELAY         1000
 #define CLK_CHANGE_DELAY       2000
@@ -184,6 +187,7 @@ struct pl180_mmc_host {
        unsigned int clkdiv_init;
        unsigned int pwr_init;
        int version2;
+       struct mmc_config cfg;
 };
 
 int arm_pl180_mmci_init(struct pl180_mmc_host *);