emmc: modify data delay_step [1/1]
authorNan Li <nan.li@amlogic.com>
Fri, 22 Mar 2019 02:40:43 +0000 (10:40 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 26 Mar 2019 08:46:13 +0000 (01:46 -0700)
PD#SWPL-6200

Problem:
emmc calibration delay set error.

Solution:
modify delay_step to 250ps.

Verify:
verify by s912.

Change-Id: I1c0e31ae6bdda8b0f105e12f3efc81b5474376d6
Signed-off-by: Nan Li <nan.li@amlogic.com>
drivers/amlogic/mmc/aml_sd_emmc.c

index 002833f..19f17d5 100644 (file)
@@ -379,6 +379,8 @@ static int aml_cali_find(struct mmc_host *mmc, struct cali_data *c_data)
 
        if (host->data->chip_type == MMC_CHIP_GXBB)
                delay_step = 125;
+       else if (host->data->chip_type == MMC_CHIP_GXM)
+               delay_step = 250;
        else
                delay_step = 200;
        if (mmc->ios.bus_width == 0)