From: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Date: Thu, 19 Apr 2018 07:07:06 +0000 (+0530)
Subject: sdhci: Add new sdhci ops for platform specific tuning and delays
X-Git-Tag: v2025.01-rc5-pxa1908~4309^2~4
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=2fc3ed5d06121ab47e45127fc534881ed3be235d;p=u-boot.git

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>
---

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 {