mmc: sdhci: SDMA may use Auto-CMD23 in v4 mode
authorChunyan Zhang <zhang.chunyan@linaro.org>
Thu, 30 Aug 2018 08:21:43 +0000 (16:21 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 8 Oct 2018 09:40:43 +0000 (11:40 +0200)
commit7ed71a9df4baf60cfcb009b3503e19fc4964e564
tree2a8832ba49718079fddbf7c472397abf012d7238
parent427b6514d0953bfc1d3fd8c404dcf839bdd8196a
mmc: sdhci: SDMA may use Auto-CMD23 in v4 mode

When Host Version 4 Enable is set to 1, SDMA uses ADMA System Address
register (05Fh-058h) instead of using register (000h-004h) to indicate
its system address of data location. The register (000h-004h) is
re-assigned to 32-bit Block Count and Auto CMD23 argument, so then SDMA
may use Auto CMD23.

Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c