]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/sdhci.h
Merge branch 'master' of git://git.denx.de/u-boot-arm into master
[karo-tx-uboot.git] / include / sdhci.h
index 74d06ae18a229ff7182249815ba53ec17cdfb166..32e04f53b54780a21f0a0b42197a6a04552562c9 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <asm/io.h>
 #include <mmc.h>
+#include <fdtdec.h>
 
 /*
  * Controller registers
@@ -244,6 +245,10 @@ struct sdhci_host {
        const struct sdhci_ops *ops;
        int index;
 
+       int bus_width;
+       struct fdt_gpio_state pwr_gpio; /* Power GPIO */
+       struct fdt_gpio_state cd_gpio;          /* Card Detect GPIO */
+
        void (*set_control_reg)(struct sdhci_host *host);
        void (*set_clock)(int dev_index, unsigned int div);
        uint    voltages;