From: Siva Durga Prasad Paladugu 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: v2018.07-rc1~159^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2fc3ed5d06121ab47e45127fc534881ed3be235d;p=u-boot 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 Signed-off-by: Michal Simek --- 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 {