mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
mmc: sdhci-of-dwcmshc: Reset the previous DLL settings
Reset the previous DLL settings left out from loader in case of running initial booting with mismatch DLL settings. Change-Id: Icba9ddcafc3969f7869a6ba31a017db6be0c885e Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
This commit is contained in:
@@ -245,6 +245,9 @@ static int rockchip_pltf_init(struct sdhci_host *host, struct dwcmshc_priv *priv
|
||||
|
||||
/* Disable cmd conflict check */
|
||||
sdhci_writel(host, 0x0, DWCMSHC_HOST_CTRL3);
|
||||
/* Reset previous settings */
|
||||
sdhci_writel(host, 0, DWCMSHC_EMMC_DLL_TXCLK);
|
||||
sdhci_writel(host, 0, DWCMSHC_EMMC_DLL_STRBIN);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user