summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/devices-mx28.h
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2012-02-06 13:08:21 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-02-11 07:39:53 -0800
commit60c15358f603ca21e791d2cc17029b620c625258 (patch)
tree07c1c1a6d03c9652e5f43419aa22a10f6e3caf3a /arch/arm/mach-mxs/devices-mx28.h
parent62aa2b537c6f5957afd98e29f96897419ed5ebab (diff)
downloadblackbird-op-linux-60c15358f603ca21e791d2cc17029b620c625258.tar.gz
blackbird-op-linux-60c15358f603ca21e791d2cc17029b620c625258.zip
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/devices-mx28.h')
-rw-r--r--arch/arm/mach-mxs/devices-mx28.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/devices-mx28.h b/arch/arm/mach-mxs/devices-mx28.h
index 4f50094e293d..9dbeae130842 100644
--- a/arch/arm/mach-mxs/devices-mx28.h
+++ b/arch/arm/mach-mxs/devices-mx28.h
@@ -34,6 +34,10 @@ extern const struct mxs_flexcan_data mx28_flexcan_data[] __initconst;
#define mx28_add_flexcan0(pdata) mx28_add_flexcan(0, pdata)
#define mx28_add_flexcan1(pdata) mx28_add_flexcan(1, pdata)
+extern const struct mxs_gpmi_nand_data mx28_gpmi_nand_data __initconst;
+#define mx28_add_gpmi_nand(pdata) \
+ mxs_add_gpmi_nand(pdata, &mx28_gpmi_nand_data)
+
extern const struct mxs_mxs_i2c_data mx28_mxs_i2c_data[] __initconst;
#define mx28_add_mxs_i2c(id) mxs_add_mxs_i2c(&mx28_mxs_i2c_data[id])
OpenPOWER on IntegriCloud