mci: imx-esdhc: factor out common sdhci registers
This gives the SDHCI specific registers a common name and moves
them to a separate file for use by other SDHCI like drivers.

The SDHCI spec has some 16bit and 8bit registers. The i.MX accesses
these as 32bit registers. These register defines now are named after
the SDHCI registers they combine into one, for example:

SDHCI_HOST_CONTROL__POWER_CONTROL__BLOCK_GAP_CONTROL

is the 32bit version of the SDHCI registers HOST_CONTROL, POWER_CONTROL
and BLOCK_GAP_CONTROL.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a6afae7 commit bd1bf53b34c62fa69ae5922a660643c6e5febf06
@Sascha Hauer Sascha Hauer authored on 24 Apr 2013
Showing 3 changed files
View
drivers/mci/imx-esdhc.c
View
drivers/mci/imx-esdhc.h
View
drivers/mci/sdhci.h 0 → 100644