diff options
author | Eric Bénard <eric@eukrea.com> | 2010-10-02 17:15:28 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-11 15:22:13 +0200 |
commit | f5e40c28b63939ee63f1f9d865eece0a28444fd0 (patch) | |
tree | 3eb5c498598379040e5b179f870c67a8cbacbb2c /arch/arm/mach-mx25/devices-imx25.h | |
parent | 438a4d66a561fe3d6dceeb9c7f30d23f52cb371b (diff) | |
download | linux-f5e40c28b63939ee63f1f9d865eece0a28444fd0.tar.bz2 |
i.mx25: add esdhc support
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx25/devices-imx25.h')
-rw-r--r-- | arch/arm/mach-mx25/devices-imx25.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mx25/devices-imx25.h b/arch/arm/mach-mx25/devices-imx25.h index eab19c0a9429..fa7e05088e25 100644 --- a/arch/arm/mach-mx25/devices-imx25.h +++ b/arch/arm/mach-mx25/devices-imx25.h @@ -44,3 +44,8 @@ extern const struct imx_spi_imx_data imx25_spi_imx_data[] __initconst; #define imx25_add_spi_imx0(pdata) imx25_add_spi_imx(0, pdata) #define imx25_add_spi_imx1(pdata) imx25_add_spi_imx(1, pdata) #define imx25_add_spi_imx2(pdata) imx25_add_spi_imx(2, pdata) + +#define imx25_add_esdhc0(pdata) \ + imx_add_esdhc(0, MX25_ESDHC1_BASE_ADDR, SZ_16K, MX25_INT_MMC_SDHC1, pdata) +#define imx25_add_esdhc1(pdata) \ + imx_add_esdhc(1, MX25_ESDHC2_BASE_ADDR, SZ_16K, MX25_INT_MMC_SDHC2, pdata) |