mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
mmc: sdhci: Check and call config_dll callback functions
Check if the low level driver supports config_dll callback function and call it if it does. Call with dll disable before calling set_clock and with dll enable after it. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
This commit is contained in:
parent
14ef4c7be5
commit
6f5bb9913c
2 changed files with 18 additions and 0 deletions
|
@ -272,6 +272,8 @@ struct sdhci_ops {
|
|||
void (*set_clock)(struct sdhci_host *host, u32 div);
|
||||
int (*platform_execute_tuning)(struct mmc *host, u8 opcode);
|
||||
int (*set_delay)(struct sdhci_host *host);
|
||||
/* Callback function to set DLL clock configuration */
|
||||
int (*config_dll)(struct sdhci_host *host, u32 clock, bool enable);
|
||||
int (*deferred_probe)(struct sdhci_host *host);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue