summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-12-12 08:24:56 +0100
committerStefan Roese <sr@denx.de>2017-01-25 07:03:44 +0100
commit210841c690546dd9b7faeee47c56851dc508f131 (patch)
tree96468885f01559fafc64ebc57a8b8c08b6a1f089 /include
parent899fb9e352815ef5a5d9304a097d5abc7c476500 (diff)
downloadu-boot-imx-210841c690546dd9b7faeee47c56851dc508f131.zip
u-boot-imx-210841c690546dd9b7faeee47c56851dc508f131.tar.gz
u-boot-imx-210841c690546dd9b7faeee47c56851dc508f131.tar.bz2
mmc: sdhci: Add support for optional controller specific set_ios_post()
Some SDHCI drivers might need to do some special controller configuration after the common clock set_ios() function has been called (speed / width configuration). This patch adds a call to the newly created function set_ios_port() when its configured in the host driver. This will be used by the Xenon SDHCI controller driver used on the Marvell Armada 3700 and 7k/8k ARM64 SoCs. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/sdhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index fdef7c4..6a43271 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -235,6 +235,7 @@ struct sdhci_ops {
#endif
int (*get_cd)(struct sdhci_host *host);
void (*set_control_reg)(struct sdhci_host *host);
+ void (*set_ios_post)(struct sdhci_host *host);
void (*set_clock)(struct sdhci_host *host, u32 div);
};