mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
emmc: Modify delay of command line to 1/4 command window [1/1]
PD#SWPL-1184 Problem: emmc data crc error Solution: Modify delay of command line Verify: A113d_s400 Change-Id: I7211da9da75569aebaf0c2790e3134e88a6f3077 Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
This commit is contained in:
@@ -918,7 +918,7 @@ static unsigned int get_emmc_cmd_win(struct mmc_host *mmc)
|
||||
cur_size = -1;
|
||||
}
|
||||
delay2 &= ~(0x3f << 24);
|
||||
delay2 |= ((best_start + best_size / 2) << 24);
|
||||
delay2 |= ((best_start + best_size / 4) << 24);
|
||||
writel(delay2, host->base + SD_EMMC_DELAY2_V3);
|
||||
emmc_eyetest_log(mmc, 9);
|
||||
return max;
|
||||
|
||||
Reference in New Issue
Block a user