PD#SWPL-5152
Problem:
Setup time in sdio highspeed mode of g12a is
inconsistent with the protocol standard.
Solution:
set co_phase = 2.
Verify:
u212
Change-Id: Ifc4576ce83c810c2ae5cbd57fe53d12959a9acca
Signed-off-by: Nan Li <nan.li@amlogic.com>
clkc->core_phase = para->hs2.core_phase;
clkc->tx_phase = para->hs2.tx_phase;
} else if (timing == MMC_TIMING_SD_HS) {
- if (aml_card_type_non_sdio(pdata))
+ if (aml_card_type_non_sdio(pdata)
+ || (host->data->chip_type == MMC_CHIP_G12A))
clkc->core_phase = para->sd_hs.core_phase;
if (pdata->calc_f) {
clkc->core_phase = para->calc.core_phase;