From patchwork Mon Feb 28 11:25:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhu X-Patchwork-Id: 595391 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 p1SBPjhO021863 for ; Mon, 28 Feb 2011 11:25:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753595Ab1B1LZp (ORCPT ); Mon, 28 Feb 2011 06:25:45 -0500 Received: from tx2ehsobe001.messaging.microsoft.com ([65.55.88.11]:53255 "EHLO TX2EHSOBE002.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753596Ab1B1LZo (ORCPT ); Mon, 28 Feb 2011 06:25:44 -0500 Received: from mail94-tx2-R.bigfish.com (10.9.14.251) by TX2EHSOBE002.bigfish.com (10.9.40.22) with Microsoft SMTP Server id 14.1.225.8; Mon, 28 Feb 2011 11:25:44 +0000 Received: from mail94-tx2 (localhost.localdomain [127.0.0.1]) by mail94-tx2-R.bigfish.com (Postfix) with ESMTP id E7695F00290; Mon, 28 Feb 2011 11:25:43 +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:de01egw01.freescale.net; RD:de01egw01.freescale.net; EFVD:NLI Received: from mail94-tx2 (localhost.localdomain [127.0.0.1]) by mail94-tx2 (MessageSwitch) id 1298892343836550_2810; Mon, 28 Feb 2011 11:25:43 +0000 (UTC) Received: from TX2EHSMHS045.bigfish.com (unknown [10.9.14.242]) by mail94-tx2.bigfish.com (Postfix) with ESMTP id C8569388050; Mon, 28 Feb 2011 11:25:43 +0000 (UTC) Received: from de01egw01.freescale.net (192.88.165.102) by TX2EHSMHS045.bigfish.com (10.9.99.145) with Microsoft SMTP Server (TLS) id 14.1.225.8; Mon, 28 Feb 2011 11:25:43 +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 p1SBPOTk025256; Mon, 28 Feb 2011 04:25:24 -0700 (MST) Received: from x-VirtualBox.ap.freescale.net (udp161219uds.ap.freescale.net [10.192.242.95] (may be forged)) by az33smr02.freescale.net (8.13.1/8.13.0) with ESMTP id p1SBPIkZ018090; Mon, 28 Feb 2011 05:25:19 -0600 (CST) From: Richard Zhu To: CC: , , , , , , , , Richard Zhu Subject: [PATCH V3 1/4] ARM: imx53_loco: add esdhc device support Date: Mon, 28 Feb 2011 19:25:11 +0800 Message-ID: <1298892315-23386-1-git-send-email-Hong-Xing.Zhu@freescale.com> X-Mailer: git-send-email 1.7.1 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]); Mon, 28 Feb 2011 11:25:45 +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)