X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fsdhci.h;h=aa4a0e9654dd6262839aec65df1d8fab08e16076;hb=6e2fca94ff4f754024e46e7d986221a75be611f3;hp=2c480d07bfe438f89de75703bd5b71393f6e43ee;hpb=82b9547387389cc4147596cb45609bf29d3fdbdb;p=u-boot diff --git a/include/sdhci.h b/include/sdhci.h index 2c480d07bf..aa4a0e9654 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -12,6 +12,7 @@ #include #include +#include /* * 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;