From patchwork Tue Feb 22 10:13:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhu X-Patchwork-Id: 580021 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1MALKqk010738 for ; Tue, 22 Feb 2011 10:21:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752319Ab1BVKVT (ORCPT ); Tue, 22 Feb 2011 05:21:19 -0500 Received: from ch1outboundpool.messaging.microsoft.com ([216.32.181.183]:33898 "EHLO ch1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752048Ab1BVKVT (ORCPT ); Tue, 22 Feb 2011 05:21:19 -0500 Received: from mail132-ch1-R.bigfish.com (216.32.181.172) by CH1EHSOBE003.bigfish.com (10.43.70.53) with Microsoft SMTP Server id 14.1.225.8; Tue, 22 Feb 2011 10:21:18 +0000 Received: from mail132-ch1 (localhost.localdomain [127.0.0.1]) by mail132-ch1-R.bigfish.com (Postfix) with ESMTP id EBF47159028F; Tue, 22 Feb 2011 10:21:17 +0000 (UTC) X-SpamScore: -3 X-BigFish: VS-3(zzbb2cKzz1202hzz8275bhz2dh2a8h668h63h) X-Spam-TCS-SCL: 2:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:de01egw01.freescale.net; RD:de01egw01.freescale.net; EFVD:NLI Received: from mail132-ch1 (localhost.localdomain [127.0.0.1]) by mail132-ch1 (MessageSwitch) id 1298370077792605_28992; Tue, 22 Feb 2011 10:21:17 +0000 (UTC) Received: from CH1EHSMHS033.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.240]) by mail132-ch1.bigfish.com (Postfix) with ESMTP id BB74B25804E; Tue, 22 Feb 2011 10:21:17 +0000 (UTC) Received: from de01egw01.freescale.net (192.88.165.102) by CH1EHSMHS033.bigfish.com (10.43.70.33) with Microsoft SMTP Server (TLS) id 14.1.225.8; Tue, 22 Feb 2011 10:21:17 +0000 Received: from az33smr02.freescale.net (az33smr02.freescale.net [10.64.34.200]) by de01egw01.freescale.net (8.14.3/8.14.3) with ESMTP id p1MADf3W025487; Tue, 22 Feb 2011 03:13:41 -0700 (MST) Received: from x-VirtualBox.ap.freescale.net ([10.192.242.62]) by az33smr02.freescale.net (8.13.1/8.13.0) with ESMTP id p1MADR7h029788; Tue, 22 Feb 2011 04:13:36 -0600 (CST) From: Richard Zhu To: CC: , , , , , , , , Richard Zhu Subject: [PATCH v2 3/5] ARM: imx53_loco: add esdhc device support Date: Tue, 22 Feb 2011 18:13:24 +0800 Message-ID: <1298369606-29972-3-git-send-email-Hong-Xing.Zhu@freescale.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1298369606-29972-1-git-send-email-Hong-Xing.Zhu@freescale.com> References: <1298369606-29972-1-git-send-email-Hong-Xing.Zhu@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 22 Feb 2011 10:21:20 +0000 (UTC) diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig index f065a0d..a72c833 100644 --- a/arch/arm/mach-mx5/Kconfig +++ b/arch/arm/mach-mx5/Kconfig @@ -162,6 +162,7 @@ config MACH_MX53_LOCO select IMX_HAVE_PLATFORM_IMX2_WDT select IMX_HAVE_PLATFORM_IMX_I2C select IMX_HAVE_PLATFORM_IMX_UART + select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX help Include support for MX53 LOCO platform. This includes specific configurations for the board and its peripherals. diff --git a/arch/arm/mach-mx5/board-mx53_loco.c b/arch/arm/mach-mx5/board-mx53_loco.c index 160899e..0a18f8d 100644 --- a/arch/arm/mach-mx5/board-mx53_loco.c +++ b/arch/arm/mach-mx5/board-mx53_loco.c @@ -213,6 +213,8 @@ static void __init mx53_loco_board_init(void) imx53_add_imx2_wdt(0, NULL); imx53_add_imx_i2c(0, &mx53_loco_i2c_data); imx53_add_imx_i2c(1, &mx53_loco_i2c_data); + imx53_add_sdhci_esdhc_imx(0, NULL); + imx53_add_sdhci_esdhc_imx(2, NULL); } static void __init mx53_loco_timer_init(void)