From patchwork Mon Oct 18 17:26:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enric Balletbo i Serra X-Patchwork-Id: 71871 X-Patchwork-Delegate: s-paulraj@ti.com Return-Path: X-Original-To: wd@gemini.denx.de Delivered-To: wd@gemini.denx.de Received: from diddl.denx.de (diddl.denx.de [10.0.0.6]) by gemini.denx.de (Postfix) with ESMTP id A824C13558D9 for ; Mon, 18 Oct 2010 19:29:45 +0200 (CEST) Received: from diddl.denx.de (localhost.localdomain [127.0.0.1]) by diddl.denx.de (Postfix) with ESMTP id 922C4348C9D1 for ; Mon, 18 Oct 2010 19:29:45 +0200 (CEST) Received: from pop.mnet-online.de by diddl.denx.de with POP3 (fetchmail-6.3.17) for (single-drop); Mon, 18 Oct 2010 19:29:45 +0200 (CEST) Received: from murder ([192.168.6.180]) by backend2 (Cyrus v2.2.12) with LMTPA; Mon, 18 Oct 2010 19:27:18 +0200 X-Sieve: CMU Sieve 2.2 Received: from mail.m-online.net (localhost [127.0.0.1]) by frontend3.mail.m-online.net (Cyrus v2.2.12) with LMTPA; Mon, 18 Oct 2010 19:27:18 +0200 Received: from scanner-4.m-online.net (scanner-4.mail.m-online.net [192.168.1.18]) by mail.m-online.net (Postfix) with ESMTP id 410071C000F1; Mon, 18 Oct 2010 19:27:18 +0200 (CEST) Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by mxin-2.m-online.net (Postfix) with ESMTP id ADEF746C0AB; Mon, 18 Oct 2010 19:27:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7584A2808B; Mon, 18 Oct 2010 19:26:48 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iuzxEkZiZb6z; Mon, 18 Oct 2010 19:26:48 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5D9F928099; Mon, 18 Oct 2010 19:26:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1E3A02807E for ; Mon, 18 Oct 2010 19:26:30 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CZG4gOcul4Y0 for ; Mon, 18 Oct 2010 19:26:28 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by theia.denx.de (Postfix) with ESMTP id 63F272807F for ; Mon, 18 Oct 2010 19:26:27 +0200 (CEST) Received: by fxm17 with SMTP id 17so855650fxm.3 for ; Mon, 18 Oct 2010 10:26:27 -0700 (PDT) Received: by 10.216.153.140 with SMTP id f12mr5521877wek.111.1287422786625; Mon, 18 Oct 2010 10:26:26 -0700 (PDT) Received: from localhost.localdomain (68.Red-217-125-26.staticIP.rima-tde.net [217.125.26.68]) by mx.google.com with ESMTPS id w8sm403335wei.45.2010.10.18.10.26.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 Oct 2010 10:26:26 -0700 (PDT) From: Enric Balletbo i Serra To: s-paulraj@ti.com, u-boot@lists.denx.de, sakoman@gmail.com Date: Mon, 18 Oct 2010 19:26:17 +0200 Message-Id: <1287422777-4022-3-git-send-email-eballetbo@iseebcn.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1287422777-4022-1-git-send-email-eballetbo@iseebcn.com> References: <1287422777-4022-1-git-send-email-eballetbo@iseebcn.com> Cc: Enric Balletbo i Serra Subject: [U-Boot] [PATCH 2/2] ARMV7: OMAP3: Use generic mmc driver on OMAP3 IGEP module X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de X-Virus-Scanned: by amavisd-new at m-online.net This patch switches from the legacy mmc driver to the new generic mmc driver Signed-off-by: Enric Balletbo i Serra --- board/isee/igep0030/igep0030.c | 9 +++++++++ include/configs/igep0030.h | 3 ++- 2 files changed, 11 insertions(+), 1 deletions(-) diff --git a/board/isee/igep0030/igep0030.c b/board/isee/igep0030/igep0030.c index 9244259..bb4dc3b 100644 --- a/board/isee/igep0030/igep0030.c +++ b/board/isee/igep0030/igep0030.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -46,6 +47,14 @@ int board_init(void) return 0; } +#ifdef CONFIG_GENERIC_MMC +int board_mmc_init(bd_t *bis) +{ + omap_mmc_init(0); + return 0; +} +#endif + /* * Routine: misc_init_r * Description: Configure board specific parts diff --git a/include/configs/igep0030.h b/include/configs/igep0030.h index 5e2e0ed..c81cabe 100644 --- a/include/configs/igep0030.h +++ b/include/configs/igep0030.h @@ -73,8 +73,9 @@ #define CONFIG_ENV_OVERWRITE #define CONFIG_BAUDRATE 115200 #define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, 115200} +#define CONFIG_GENERIC_MMC 1 #define CONFIG_MMC 1 -#define CONFIG_OMAP3_MMC 1 +#define CONFIG_OMAP_HSMMC 1 #define CONFIG_DOS_PARTITION 1 /* DDR */