[U-Boot] [PATCH 3/7] sdhci: Add new sdhci ops for platform specific tuning and delays

Siva Durga Prasad Paladugu siva.durga.paladugu at xilinx.com
Thu Jan 4 06:20:12 UTC 2018


This patch adds new hooks for any platform specific tuning and
tap delays programing. These are needed for supporting
SD3.0.Y

Signed-off-by: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
---
 include/sdhci.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/sdhci.h b/include/sdhci.h
index 4fc4140..3269992 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -237,6 +237,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 {
-- 
2.7.4



More information about the U-Boot mailing list