aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx25/devices-imx25.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-21 11:34:58 -0400
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-30 03:00:48 -0400
commit63ddc5b01681567d10ddb94cb41390c77237cb62 (patch)
tree6e181ea48f1cb9ec48a6227f49e96e41caefe200 /arch/arm/mach-mx25/devices-imx25.h
parent642e466bf405ba558e68353cd4ae6e8ed640b123 (diff)
ARM: imx: dynamically register spi_imx devices (imx25)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx25/devices-imx25.h')
-rw-r--r--arch/arm/mach-mx25/devices-imx25.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mx25/devices-imx25.h b/arch/arm/mach-mx25/devices-imx25.h
index 6464be439e90..33a834e716c5 100644
--- a/arch/arm/mach-mx25/devices-imx25.h
+++ b/arch/arm/mach-mx25/devices-imx25.h
@@ -18,3 +18,10 @@
18 18
19#define imx25_add_mxc_nand(pdata) \ 19#define imx25_add_mxc_nand(pdata) \
20 imx_add_mxc_nand_v21(MX25_NFC_BASE_ADDR, MX25_INT_NANDFC, pdata) 20 imx_add_mxc_nand_v21(MX25_NFC_BASE_ADDR, MX25_INT_NANDFC, pdata)
21
22#define imx25_add_spi_imx0(pdata) \
23 imx_add_spi_imx(0, MX25_CSPI1_BASE_ADDR, SZ_16K, MX25_INT_CSPI1, pdata)
24#define imx25_add_spi_imx1(pdata) \
25 imx_add_spi_imx(1, MX25_CSPI2_BASE_ADDR, SZ_16K, MX25_INT_CSPI2, pdata)
26#define imx25_add_spi_imx2(pdata) \
27 imx_add_spi_imx(2, MX25_CSPI3_BASE_ADDR, SZ_16K, MX25_INT_CSPI3, pdata)