From patchwork Mon Feb 21 09:54:53 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhao X-Patchwork-Id: 577241 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 p1L9t9C7026746 for ; Mon, 21 Feb 2011 09:55:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751439Ab1BUJzY (ORCPT ); Mon, 21 Feb 2011 04:55:24 -0500 Received: from tx2ehsobe002.messaging.microsoft.com ([65.55.88.12]:53737 "EHLO TX2EHSOBE004.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753339Ab1BUJzY (ORCPT ); Mon, 21 Feb 2011 04:55:24 -0500 Received: from mail41-tx2-R.bigfish.com (10.9.14.253) by TX2EHSOBE004.bigfish.com (10.9.40.24) with Microsoft SMTP Server id 14.1.225.8; Mon, 21 Feb 2011 09:55:23 +0000 Received: from mail41-tx2 (localhost.localdomain [127.0.0.1]) by mail41-tx2-R.bigfish.com (Postfix) with ESMTP id 4686F7E0102 for ; Mon, 21 Feb 2011 09:55:23 +0000 (UTC) X-SpamScore: -3 X-BigFish: VS-3(zzbb2cKzz1202hzz8275bhz2dh2a8h668h62h) X-Spam-TCS-SCL: 1:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:az33egw01.freescale.net; RD:az33egw01.freescale.net; EFVD:NLI Received: from mail41-tx2 (localhost.localdomain [127.0.0.1]) by mail41-tx2 (MessageSwitch) id 1298282123171183_11234; Mon, 21 Feb 2011 09:55:23 +0000 (UTC) Received: from TX2EHSMHS029.bigfish.com (unknown [10.9.14.250]) by mail41-tx2.bigfish.com (Postfix) with ESMTP id 2688E598050 for ; Mon, 21 Feb 2011 09:55:23 +0000 (UTC) Received: from az33egw01.freescale.net (192.88.158.102) by TX2EHSMHS029.bigfish.com (10.9.99.129) with Microsoft SMTP Server (TLS) id 14.1.225.8; Mon, 21 Feb 2011 09:55:11 +0000 Received: from az33smr01.freescale.net (az33smr01.freescale.net [10.64.34.199]) by az33egw01.freescale.net (8.14.3/8.14.3) with ESMTP id p1L9t0cM022391 for ; Mon, 21 Feb 2011 02:55:11 -0700 (MST) Received: from b20223-02 (B20223-02.ap.freescale.net [10.192.242.48]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id p1L9sx3Q028487 for ; Mon, 21 Feb 2011 03:55:00 -0600 (CST) Received: by b20223-02 (Postfix, from userid 1000) id 4FC99321DA4; Mon, 21 Feb 2011 17:54:58 +0800 (CST) From: Richard Zhao To: CC: , , , , , , , , Richard Zhao Subject: [PATCH 3/5] ARM: imx53_loco: add esdhc device support Date: Mon, 21 Feb 2011 17:54:53 +0800 Message-ID: <1298282095-2279-3-git-send-email-richard.zhao@freescale.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1298282095-2279-1-git-send-email-richard.zhao@freescale.com> References: <1298282095-2279-1-git-send-email-richard.zhao@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.net 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]); Mon, 21 Feb 2011 09:55:44 +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)