summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2020-02-26 13:44:31 +0530
committerPeng Fan <peng.fan@nxp.com>2020-03-09 08:33:16 +0800
commitcb884347f4f902b605932da1d45d477d10c144e3 (patch)
treed50b20f834650f2fb2a32ccb95a22b9f708e1976 /include/sdhci.h
parent32860bdbc1f2d4133c1ef38685c6b02368136fbb (diff)
downloadu-boot-cb884347f4f902b605932da1d45d477d10c144e3.tar.gz
u-boot-cb884347f4f902b605932da1d45d477d10c144e3.tar.bz2
u-boot-cb884347f4f902b605932da1d45d477d10c144e3.zip
sdhci: Add sdhci_deferred_probe() API
Add the sdhci_deferred_probe() function to register as the deferred_probe() callback to the mmc core. It will in turn call the deferred_probe() callback of the platform drivers as declared in the sdhci_ops. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r--include/sdhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index 7f8feefa45..aa4378fd57 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -268,6 +268,7 @@ struct sdhci_ops {
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);
+ int (*deferred_probe)(struct sdhci_host *host);
};
#if CONFIG_IS_ENABLED(MMC_SDHCI_ADMA)