diff options
author | Siva Durga Prasad Paladugu <sivadur@xilinx.com> | 2018-04-19 12:37:06 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-05-11 09:38:27 +0200 |
commit | 2fc3ed5d06121ab47e45127fc534881ed3be235d (patch) | |
tree | cb81741290718bd7a4db006ce145fa1d1bd1935e /include | |
parent | b88a7a4c5618565dfa2a913c0980b51dc96932cb (diff) | |
download | u-boot-2fc3ed5d06121ab47e45127fc534881ed3be235d.zip u-boot-2fc3ed5d06121ab47e45127fc534881ed3be235d.tar.gz u-boot-2fc3ed5d06121ab47e45127fc534881ed3be235d.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/sdhci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h index 1e0c92c..8ca632f 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 { |