projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
armv8/fsl-lsch3: Add Freescale Debug Server driver
[oweals/u-boot.git]
/
include
/
sdhci.h
diff --git
a/include/sdhci.h
b/include/sdhci.h
index 32e04f53b54780a21f0a0b42197a6a04552562c9..23893b57408056ea3cd077af2923a300e53c36fb 100644
(file)
--- a/
include/sdhci.h
+++ b/
include/sdhci.h
@@
-12,7
+12,7
@@
#include <asm/io.h>
#include <mmc.h>
#include <asm/io.h>
#include <mmc.h>
-#include <
fdtdec
.h>
+#include <
asm/gpio
.h>
/*
* Controller registers
/*
* Controller registers
@@
-246,12
+246,14
@@
struct sdhci_host {
int index;
int bus_width;
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);
uint voltages;
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
};
#ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS