diff options
author | Huang Shijie <b32955@freescale.com> | 2012-02-06 00:08:21 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-02-11 10:39:53 -0500 |
commit | 60c15358f603ca21e791d2cc17029b620c625258 (patch) | |
tree | 07c1c1a6d03c9652e5f43419aa22a10f6e3caf3a /arch/arm/mach-mxs/include | |
parent | 62aa2b537c6f5957afd98e29f96897419ed5ebab (diff) |
ARM: mxs: add GPMI-NAND support for imx23/imx28
add GPMI-NAND support for imx23 and imx28.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-mxs/include')
-rw-r--r-- | arch/arm/mach-mxs/include/mach/devices-common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/include/mach/devices-common.h b/arch/arm/mach-mxs/include/mach/devices-common.h index dc369c1239fc..f2e383955d88 100644 --- a/arch/arm/mach-mxs/include/mach/devices-common.h +++ b/arch/arm/mach-mxs/include/mach/devices-common.h | |||
@@ -66,6 +66,16 @@ struct platform_device *__init mxs_add_flexcan( | |||
66 | const struct mxs_flexcan_data *data, | 66 | const struct mxs_flexcan_data *data, |
67 | const struct flexcan_platform_data *pdata); | 67 | const struct flexcan_platform_data *pdata); |
68 | 68 | ||
69 | /* gpmi-nand */ | ||
70 | #include <linux/mtd/gpmi-nand.h> | ||
71 | struct mxs_gpmi_nand_data { | ||
72 | const char *devid; | ||
73 | const struct resource res[GPMI_NAND_RES_SIZE]; | ||
74 | }; | ||
75 | struct platform_device *__init | ||
76 | mxs_add_gpmi_nand(const struct gpmi_nand_platform_data *pdata, | ||
77 | const struct mxs_gpmi_nand_data *data); | ||
78 | |||
69 | /* i2c */ | 79 | /* i2c */ |
70 | struct mxs_mxs_i2c_data { | 80 | struct mxs_mxs_i2c_data { |
71 | int id; | 81 | int id; |