From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1PGC3t-0005Pp-3b for barebox@lists.infradead.org; Wed, 10 Nov 2010 14:54:12 +0000 From: Sascha Hauer Date: Wed, 10 Nov 2010 15:53:59 +0100 Message-Id: <1289400839-5937-14-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1289400839-5937-1-git-send-email-s.hauer@pengutronix.de> References: <1289400839-5937-1-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 13/13] ARM i.MX51: Add nand device To: barebox@lists.infradead.org Signed-off-by: Sascha Hauer --- 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 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox