From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp12.mail.ru ([94.100.176.89]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SIMiN-0002e1-Eh for barebox@lists.infradead.org; Thu, 12 Apr 2012 16:17:46 +0000 From: Alexander Shiyan Date: Thu, 12 Apr 2012 20:20:24 +0400 Message-Id: <1334247624-24896-7-git-send-email-shc_work@mail.ru> In-Reply-To: <1334247624-24896-1-git-send-email-shc_work@mail.ru> References: <1334247624-24896-1-git-send-email-shc_work@mail.ru> 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 7/7] i.MX51: Add support for SDHC3 To: barebox@lists.infradead.org Signed-off-by: Alexander Shiyan --- 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 27fcaa2..6218299 100644 --- a/arch/arm/mach-imx/include/mach/devices-imx51.h +++ b/arch/arm/mach-imx/include/mach/devices-imx51.h @@ -57,6 +57,11 @@ static inline struct device_d *imx51_add_mmc1(struct esdhc_platform_data *pdata) return imx_add_esdhc((void *)MX51_MMC_SDHC2_BASE_ADDR, 1, pdata); } +static inline struct device_d *imx51_add_mmc2(struct esdhc_platform_data *pdata) +{ + return imx_add_esdhc((void *)MX51_MMC_SDHC3_BASE_ADDR, 2, pdata); +} + static inline struct device_d *imx51_add_nand(struct imx_nand_platform_data *pdata) { struct resource res[] = { -- 1.7.3.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox