aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/devices-imx31.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-22 04:09:14 -0400
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-30 03:00:50 -0400
commit06606ff1300ecb05a2a2953c9f735730950365f5 (patch)
treec34e823648d219d5f6288f68a50804cafe0f13f8 /arch/arm/mach-mx3/devices-imx31.h
parent7536cf992f395cb431f723041183d14a91d89c84 (diff)
ARM: imx: dynamically register spi_imx devices (imx31)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/devices-imx31.h')
-rw-r--r--arch/arm/mach-mx3/devices-imx31.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/devices-imx31.h b/arch/arm/mach-mx3/devices-imx31.h
index 56bc1e1ca8d6..1cf96caf8265 100644
--- a/arch/arm/mach-mx3/devices-imx31.h
+++ b/arch/arm/mach-mx3/devices-imx31.h
@@ -18,3 +18,10 @@
18 18
19#define imx31_add_mxc_nand(pdata) \ 19#define imx31_add_mxc_nand(pdata) \
20 imx_add_mxc_nand_v1(MX31_NFC_BASE_ADDR, MX31_INT_NANDFC, pdata) 20 imx_add_mxc_nand_v1(MX31_NFC_BASE_ADDR, MX31_INT_NANDFC, pdata)
21
22#define imx31_add_spi_imx0(pdata) \
23 imx_add_spi_imx(0, MX31_CSPI1_BASE_ADDR, SZ_4K, MX31_INT_CSPI1, pdata)
24#define imx31_add_spi_imx1(pdata) \
25 imx_add_spi_imx(1, MX31_CSPI2_BASE_ADDR, SZ_4K, MX31_INT_CSPI2, pdata)
26#define imx31_add_spi_imx2(pdata) \
27 imx_add_spi_imx(2, MX31_CSPI3_BASE_ADDR, SZ_4K, MX31_INT_CSPI3, pdata)