aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <sivadur@xilinx.com>2018-04-19 12:37:06 +0530
committerMichal Simek <michal.simek@xilinx.com>2018-05-11 09:38:27 +0200
commit2fc3ed5d06121ab47e45127fc534881ed3be235d (patch)
treecb81741290718bd7a4db006ce145fa1d1bd1935e /include
parentb88a7a4c5618565dfa2a913c0980b51dc96932cb (diff)
downloadu-boot-2fc3ed5d06121ab47e45127fc534881ed3be235d.zip
u-boot-2fc3ed5d06121ab47e45127fc534881ed3be235d.tar.gz
u-boot-2fc3ed5d06121ab47e45127fc534881ed3be235d.tar.bz2
sdhci: Add new sdhci ops for platform specific tuning and delays
This patch adds new hooks for any platform specific tuning and tap delays programing. These are needed for supporting SD3.0. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r--include/sdhci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index 1e0c92c..8ca632f 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -242,6 +242,8 @@ struct sdhci_ops {
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);
+ int (*platform_execute_tuning)(struct mmc *host, u8 opcode);
+ void (*set_delay)(struct sdhci_host *host);
};
struct sdhci_host {