diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-22 03:00:22 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-30 03:00:49 -0400 |
commit | 7536cf992f395cb431f723041183d14a91d89c84 (patch) | |
tree | f7b494f9d703272a749c8f5bda4e31dd46c87891 /arch/arm/mach-imx/devices-imx27.h | |
parent | 63ddc5b01681567d10ddb94cb41390c77237cb62 (diff) |
ARM: imx: dynamically register spi_imx devices (imx27)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/devices-imx27.h')
-rw-r--r-- | arch/arm/mach-imx/devices-imx27.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx27.h b/arch/arm/mach-imx/devices-imx27.h index 5e0c40c92013..7da1e2bfd4bb 100644 --- a/arch/arm/mach-imx/devices-imx27.h +++ b/arch/arm/mach-imx/devices-imx27.h | |||
@@ -16,3 +16,10 @@ | |||
16 | 16 | ||
17 | #define imx27_add_mxc_nand(pdata) \ | 17 | #define imx27_add_mxc_nand(pdata) \ |
18 | imx_add_mxc_nand_v1(MX27_NFC_BASE_ADDR, MX27_INT_NANDFC, pdata) | 18 | imx_add_mxc_nand_v1(MX27_NFC_BASE_ADDR, MX27_INT_NANDFC, pdata) |
19 | |||
20 | #define imx27_add_spi_imx0(pdata) \ | ||
21 | imx_add_spi_imx(0, MX27_CSPI1_BASE_ADDR, SZ_4K, MX27_INT_CSPI1, pdata) | ||
22 | #define imx27_add_spi_imx1(pdata) \ | ||
23 | imx_add_spi_imx(1, MX27_CSPI2_BASE_ADDR, SZ_4K, MX27_INT_CSPI2, pdata) | ||
24 | #define imx27_add_spi_imx2(pdata) \ | ||
25 | imx_add_spi_imx(2, MX27_CSPI3_BASE_ADDR, SZ_4K, MX27_INT_CSPI3, pdata) | ||