PD#SWPL-7181
Problem:
switch to high-speed from hs200 failed for resume process.
Solution:
set tx_delay as 0 for legacy mode.
clear cfg_cmd_setup
Verify:
verify by TL1
Change-Id: I5dbb1bbc391da864464bf137837a2b0f54ccda42
Signed-off-by: Long Yu <long.yu@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
clkc->tx_phase = para->sdr104.tx_phase;
} else {
ctrl->ddr = 0;
+ clkc->tx_delay = 0;
+ clkc->core_phase = para->init.core_phase;
+ clkc->tx_phase = para->init.tx_phase;
+ irq_en &= ~(1<<17);
+ writel(irq_en, host->base + SD_EMMC_IRQ_EN);
/* timing == MMC_TIMING_LEGACY */
if (pdata->calc_f) {
clkc->core_phase = para->calc.core_phase;