summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <sivadur@xilinx.com>2018-04-19 10:07:06 +0300
committerMichal Simek <michal.simek@xilinx.com>2018-05-11 10:38:27 +0300
commit2fc3ed5d06121ab47e45127fc534881ed3be235d (patch)
treecb81741290718bd7a4db006ce145fa1d1bd1935e
parentb88a7a4c5618565dfa2a913c0980b51dc96932cb (diff)
downloadu-boot-2fc3ed5d06121ab47e45127fc534881ed3be235d.tar.xz
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>
-rw-r--r--include/sdhci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index 1e0c92c4cb..8ca632f3e0 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 {