diff options
author | Faiz Abbas <faiz_abbas@ti.com> | 2019-06-11 00:43:35 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-17 11:12:08 -0400 |
commit | 3966c7d0060e7651f1f4e65349bc810426f61602 (patch) | |
tree | aba4f852240fd06cca43c1b01f585d0626b1ea66 /include/sdhci.h | |
parent | 3d296365e4e8823c7c0d4b568fa7accfae4bf895 (diff) | |
download | u-boot-3966c7d0060e7651f1f4e65349bc810426f61602.tar.gz u-boot-3966c7d0060e7651f1f4e65349bc810426f61602.tar.bz2 u-boot-3966c7d0060e7651f1f4e65349bc810426f61602.zip |
mmc: sdhci: Make sdhci_set_clock() non static
The am654_sdhci driver needs to switch the clock off
before disabling its phy dll and needs to re-enable
the clock before enabling the phy again.
Therefore, make the sdhci_set_clock() function accessible
in the am654_sdhci driver.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r-- | include/sdhci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h index eee493ab5f..820cd16e92 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -470,6 +470,7 @@ int add_sdhci(struct sdhci_host *host, u32 f_max, u32 f_min); #ifdef CONFIG_DM_MMC /* Export the operations to drivers */ int sdhci_probe(struct udevice *dev); +int sdhci_set_clock(struct mmc *mmc, unsigned int clock); extern const struct dm_mmc_ops sdhci_ops; #else #endif |