]> git.sur5r.net Git - u-boot/commitdiff
sdhci: Add new sdhci ops for platform specific tuning and delays
authorSiva Durga Prasad Paladugu <sivadur@xilinx.com>
Thu, 19 Apr 2018 07:07:06 +0000 (12:37 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 11 May 2018 07:38:27 +0000 (09:38 +0200)
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>
include/sdhci.h

index 1e0c92c4cbacae6260273e298011e26885f09efc..8ca632f3e0beba23c4b5b77ff878189729e46269 100644 (file)
@@ -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 {