Home
last modified time | relevance | path

Searched hist:c060f28d7072335843a6c02422c8e58c662340f6 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mmc/
H A Dsdhci.cc060f28d7072335843a6c02422c8e58c662340f6 Thu Nov 02 14:10:21 UTC 2017 Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> mmc: sdhci: don't clear SDHCI_INT_STATUS register during CMD_INHIBIT

Fixes emmc initialization regression on the db410c platform.

Clearing this register while SDHCI_PRESENT_STATE reports
SDHCI_CMD_INHIBIT leads to undefined behaviour on the db410c.

When commit 7dde50 was merged (mmc: sdhci: Wait for SDHCI_INT_DATA_END
when transferring), SDHCI transfers transitioned to wait for bit
SDHCI_INT_DATA_END before flagging transfers done.

Without this patch, the db410 platform fails to initialize its eMMC
due to all of its transfers timing out (SDHCI_INT_DATA_END is never
raised after all the blocks have been transferred).

Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Change-Id: I9aaca0e60ed042a99d325d7a35fa2794a73c0cb6
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>