OSDN Git Service

mmc: sdhci-of-esdhc: support ESDHC_CAPABILITIES_1 accessing
authoryangbo lu <yangbo.lu@nxp.com>
Tue, 15 Aug 2017 02:17:03 +0000 (10:17 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 13:03:36 +0000 (15:03 +0200)
commit2f3110cc89c29a790c8b31c7983603d60b9ede49
tree808f654d49f64a5a0d1a45675d34668d9613e29e
parent501639bf2173ec142c48e67d391833a54965c912
mmc: sdhci-of-esdhc: support ESDHC_CAPABILITIES_1 accessing

eSDHC is not a standard SD host controller. SDHCI_CAPABILITIES_1
register address is 0x44 while it's 0x114 (ESDHC_CAPABILITIES_1)
for eSDHC.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc.h
drivers/mmc/host/sdhci-of-esdhc.c