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)
committerNick Xie <nick@khadas.com>
Mon, 24 Jun 2019 07:26:24 +0000 (15:26 +0800)
commit32bf4427416c8079c7a2640bf5b8121773d667db
treeb142fdc6066a3ebe5c5d26b73cd0a612c52bb01e
parent9b25e60460a54fdfe87d66faec23c3688672759f
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