summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorLei Wen <leiwen@marvell.com>2011-10-08 04:14:56 +0000
committerAndy Fleming <afleming@freescale.com>2011-11-03 02:14:59 -0500
commit6cf1b17cd0af756bab5ec07cbf9f8ed13c229220 (patch)
tree9f103260795aa500ebacf2b90f1b3a319bb44272 /include/sdhci.h
parent0d2f15f9c77a911d95100bf791a9619af900eb2f (diff)
downloadu-boot-imx-6cf1b17cd0af756bab5ec07cbf9f8ed13c229220.zip
u-boot-imx-6cf1b17cd0af756bab5ec07cbf9f8ed13c229220.tar.gz
u-boot-imx-6cf1b17cd0af756bab5ec07cbf9f8ed13c229220.tar.bz2
mmc: sdhci: add mmc structure for host
So that sdhci host would tell in the driver that the mmc current attributes. Signed-off-by: Lei Wen <leiwen@marvell.com>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r--include/sdhci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index e84d2dc..0690938 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -27,6 +27,8 @@
#define __SDHCI_HW_H
#include <asm/io.h>
+#include <mmc.h>
+
/*
* Controller registers
*/
@@ -239,6 +241,7 @@ struct sdhci_host {
unsigned int quirks;
unsigned int version;
unsigned int clock;
+ struct mmc *mmc;
const struct sdhci_ops *ops;
};