mmc: sdhci: Parameterize ADMA sizes and alignment
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 4 Nov 2014 10:42:42 +0000 (12:42 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:51 +0000 (12:40 +0100)
commit76fe379acaeb857f91705f3bd5c6f69ec13872a9
tree96a20d4da17bfc7497a617c0f459ba42fd59697d
parent1c3d5f6ddcb915c0e702cf513bad4a3b1583f48f
mmc: sdhci: Parameterize ADMA sizes and alignment

In preparation for 64-bit ADMA, parameterize ADMA sizes
and alignment.  64-bit ADMA has a larger descriptor
because it contains a 64-bit address instead of a 32-bit
address.  Also data must be 8-byte aligned instead
of 4-byte aligned.  Consequently, sdhci_host members
are added for descriptor, table, and buffer sizes
and alignment.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
include/linux/mmc/sdhci.h