[PATCH] mci: factor out common SDHCI register defines

Sascha Hauer s.hauer at pengutronix.de
Wed Apr 24 03:34:17 EDT 2013


The SDHCI controller core is implemented by different SoC vendors.
All these implementations are quite different which makes it hard
to write and maintain a common driver.
These patches factor out the common register layout so that this
can be shared by drivers which makes them more comparable and makes
it possible to share code between SDHCI drivers.

Sascha


----------------------------------------------------------------
Sascha Hauer (2):
      mci: imx-esdhc: remove cache snoop register access
      mci: imx-esdhc: factor out common sdhci registers

 drivers/mci/imx-esdhc.c | 190 ++++++++++++++++++++++--------------------------
 drivers/mci/imx-esdhc.h |  89 -----------------------
 drivers/mci/sdhci.h     |  88 ++++++++++++++++++++++
 3 files changed, 175 insertions(+), 192 deletions(-)
 create mode 100644 drivers/mci/sdhci.h




More information about the barebox mailing list