[PATCH 13/13] ARM i.MX51: Add nand device

Sascha Hauer s.hauer at pengutronix.de
Wed Nov 10 09:53:59 EST 2010


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/mach-imx/include/mach/devices-imx51.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-imx/include/mach/devices-imx51.h b/arch/arm/mach-imx/include/mach/devices-imx51.h
index ff63fca..ae85318 100644
--- a/arch/arm/mach-imx/include/mach/devices-imx51.h
+++ b/arch/arm/mach-imx/include/mach/devices-imx51.h
@@ -51,3 +51,8 @@ static inline struct device_d *imx51_add_mmc1(void *pdata)
 	return imx_add_mmc((void *)MX51_MMC_SDHC2_BASE_ADDR, 0, pdata);
 }
 
+static inline struct device_d *imx51_add_nand(struct imx_nand_platform_data *pdata)
+{
+	return imx_add_nand((void *)MX51_NFC_AXI_BASE_ADDR, pdata);
+}
+
-- 
1.7.2.3




More information about the barebox mailing list