summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-05 20:05:38 -0700
committerSimon Glass <sjg@chromium.org>2015-01-29 17:09:52 -0700
commit0347960b8732b8d8506c9123c217b503666a4ad8 (patch)
tree362e8287f35665d656adc4e0363fd0ccc6b518fa /include/sdhci.h
parent9762a415c8ed1d2e7cb7d202a29a3c2133184808 (diff)
downloadu-boot-imx-0347960b8732b8d8506c9123c217b503666a4ad8.zip
u-boot-imx-0347960b8732b8d8506c9123c217b503666a4ad8.tar.gz
u-boot-imx-0347960b8732b8d8506c9123c217b503666a4ad8.tar.bz2
dm: mmc: Remove use of fdtdec GPIO support
These functions are going away, so use the new uclass support instead. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r--include/sdhci.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index aa4a0e9..23893b5 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -12,7 +12,7 @@
#include <asm/io.h>
#include <mmc.h>
-#include <fdtdec.h>
+#include <asm/gpio.h>
/*
* Controller registers
@@ -246,8 +246,8 @@ struct sdhci_host {
int index;
int bus_width;
- struct fdt_gpio_state pwr_gpio; /* Power GPIO */
- struct fdt_gpio_state cd_gpio; /* Card Detect GPIO */
+ struct gpio_desc pwr_gpio; /* Power GPIO */
+ struct gpio_desc cd_gpio; /* Card Detect GPIO */
void (*set_control_reg)(struct sdhci_host *host);
void (*set_clock)(int dev_index, unsigned int div);