From 60c15358f603ca21e791d2cc17029b620c625258 Mon Sep 17 00:00:00 2001 From: Huang Shijie Date: Mon, 6 Feb 2012 13:08:21 +0800 Subject: ARM: mxs: add GPMI-NAND support for imx23/imx28 add GPMI-NAND support for imx23 and imx28. Signed-off-by: Huang Shijie Signed-off-by: Shawn Guo --- arch/arm/mach-mxs/include/mach/devices-common.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'arch/arm/mach-mxs/include') 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( const struct mxs_flexcan_data *data, const struct flexcan_platform_data *pdata); +/* gpmi-nand */ +#include +struct mxs_gpmi_nand_data { + const char *devid; + const struct resource res[GPMI_NAND_RES_SIZE]; +}; +struct platform_device *__init +mxs_add_gpmi_nand(const struct gpmi_nand_platform_data *pdata, + const struct mxs_gpmi_nand_data *data); + /* i2c */ struct mxs_mxs_i2c_data { int id; -- cgit v1.2.3