summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit@wsystem.com>2017-05-30 11:14:09 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-06-20 10:30:33 +0200
commit81a0a8bc380d847fc62605c27067b5c1d025bea2 (patch)
tree18529b6fd5bab6f1c294e14a2028f547072105f9 /security
parentcbb4509374963bea440c15ff26e2501d15e7927a (diff)
mmc: sdhci-esdhc-imx: Fix DAT line software reset
On i.MX25, the eSDHC DAT line software reset (SYSCTL.RSTD) unexpectedly clears at least the data transfer width (PROCTL.DTW), which then results in data CRC errors. This behavior is not documented, but it has actually been observed. Consequently, the DAT line software resets triggered by sdhci.c in case of errors caused unrecoverable errors. Fix this by making sure that the DAT line software reset does not alter the Host Control register. This behavior being undocumented, it may also be present on other i.MX SoCs, so apply this fix for the whole i.MX family. Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions