diff options
author | Huang Shijie <b32955@freescale.com> | 2012-02-06 06:08:21 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-02-11 16:39:53 +0100 |
commit | 60c15358f603ca21e791d2cc17029b620c625258 (patch) | |
tree | 07c1c1a6d03c9652e5f43419aa22a10f6e3caf3a /arch/arm/mach-mxs/devices-mx23.h | |
parent | Linux 3.3-rc2 (diff) | |
download | linux-60c15358f603ca21e791d2cc17029b620c625258.tar.xz 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-mx23.h')
-rw-r--r-- | arch/arm/mach-mxs/devices-mx23.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/devices-mx23.h b/arch/arm/mach-mxs/devices-mx23.h index 3fa651d2c994..4d1329d59287 100644 --- a/arch/arm/mach-mxs/devices-mx23.h +++ b/arch/arm/mach-mxs/devices-mx23.h @@ -21,6 +21,10 @@ extern const struct mxs_auart_data mx23_auart_data[] __initconst; #define mx23_add_auart0() mx23_add_auart(0) #define mx23_add_auart1() mx23_add_auart(1) +extern const struct mxs_gpmi_nand_data mx23_gpmi_nand_data __initconst; +#define mx23_add_gpmi_nand(pdata) \ + mxs_add_gpmi_nand(pdata, &mx23_gpmi_nand_data) + extern const struct mxs_mxs_mmc_data mx23_mxs_mmc_data[] __initconst; #define mx23_add_mxs_mmc(id, pdata) \ mxs_add_mxs_mmc(&mx23_mxs_mmc_data[id], pdata) |