X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fsdhci.h;h=aa4a0e9654dd6262839aec65df1d8fab08e16076;hb=ae5de5a19df2d25ccf0e58bf59b74ebdb18612a2;hp=74d06ae18a229ff7182249815ba53ec17cdfb166;hpb=4fa7613c50069b6821ace02b11a24b46dcbbec5e;p=u-boot diff --git a/include/sdhci.h b/include/sdhci.h index 74d06ae18a..aa4a0e9654 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -12,6 +12,7 @@ #include #include +#include /* * Controller registers @@ -244,9 +245,15 @@ 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; + + struct mmc_config cfg; }; #ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS