]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: move SDHCI_CAPABILITIES_1 to a more suitable place
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 8 Apr 2020 07:21:04 +0000 (16:21 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:20:57 +0000 (11:20 +0200)
commitdfa826dc2407b937e36f14a0fe88dc2cfa233adf
treee2c669ff72452d881426f5b0937c1fc86a8af6ac
parent10368d5fe77037a4f6cde5cd406fc29bc435c274
mmc: sdhci: move SDHCI_CAPABILITIES_1 to a more suitable place

In the SDHCI specification, the Capabilities Register (Offset 0x40h)
is the 64-bit width register, but in Linux, it is represented as two
registers, SDHCI_CAPABILITIES and SDHCI_CAPABILITIES_1 so that drivers
can use 32-bit register accessors.

The upper 32-bit field is associated with SDHCI_CAPABILITIES_1.

Move the definition of SDHCI_CAPABILITIES_1 to the correct place.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20200408072105.422-1-yamada.masahiro@socionext.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.h