emmc: report response crc error on G12B when hs400 200M busmode [1/1]
authorLong Yu <long.yu@amlogic.com>
Tue, 14 May 2019 07:17:30 +0000 (15:17 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Wed, 22 May 2019 02:46:28 +0000 (19:46 -0700)
commitca709001f4ec7f79296970e0d4557ee67f8326e6
tree685a0298d06bf3446c34083a54c58cb86799d02e
parent33d4309354a0498b1583a7bb3b1c770530086350
emmc: report response crc error on G12B when hs400 200M busmode [1/1]

PD#SWPL-8670

Problem:
G12B report response crc error when hs400 200M busmode

Solution:
find a eyetest hole between 14-20 or 48-54, otherwise
tuning tx_delay and find again and
adjust CMD rx timing dynamically in HS400 mode

Verify:
passed on G12B

Change-Id: I23e4d5118e0ca0564367a77102aea9e1085633a9
Signed-off-by: Long Yu <long.yu@amlogic.com>
drivers/amlogic/mmc/aml_sd_emmc.c
drivers/amlogic/mmc/aml_sd_emmc_v3.c
include/linux/amlogic/sd.h