From patchwork Mon Oct 18 17:26:16 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: 71870 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 5F10813558DA 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 46409348C9D2 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.8.180]) by backend2 (Cyrus v2.2.12) with LMTPA; Mon, 18 Oct 2010 19:27:06 +0200 X-Sieve: CMU Sieve 2.2 Received: from mail.m-online.net (localhost [127.0.0.1]) by frontend1.mail.m-online.net (Cyrus v2.2.12) with LMTPA; Mon, 18 Oct 2010 19:27:06 +0200 Received: from scanner-2.m-online.net (scanner-2.mail.m-online.net [192.168.8.166]) by mail.m-online.net (Postfix) with ESMTP id 655281C001B0; Mon, 18 Oct 2010 19:27:06 +0200 (CEST) Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by mxin-1.m-online.net (Postfix) with ESMTP id 6B82D46C0A6; Mon, 18 Oct 2010 19:27:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C8718280B1; Mon, 18 Oct 2010 19:26:41 +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 MxKz2QXPBu99; Mon, 18 Oct 2010 19:26:41 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D426928088; Mon, 18 Oct 2010 19:26:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 063492807C for ; Mon, 18 Oct 2010 19:26:29 +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 Kn0+g0csd1+Z for ; Mon, 18 Oct 2010 19:26:27 +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 0503D2807E for ; Mon, 18 Oct 2010 19:26:25 +0200 (CEST) Received: by fxm17 with SMTP id 17so855628fxm.3 for ; Mon, 18 Oct 2010 10:26:25 -0700 (PDT) Received: by 10.216.6.201 with SMTP id 51mr5514939wen.110.1287422785366; Mon, 18 Oct 2010 10:26:25 -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.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 Oct 2010 10:26:24 -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:16 +0200 Message-Id: <1287422777-4022-2-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 1/2] ARMV7: OMAP3: Use generic mmc driver on IGEP v2 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/igep0020/igep0020.c | 9 +++++++++ include/configs/igep0020.h | 3 ++- 2 files changed, 11 insertions(+), 1 deletions(-) diff --git a/board/isee/igep0020/igep0020.c b/board/isee/igep0020/igep0020.c index 3f7eda1..3ba541e 100644 --- a/board/isee/igep0020/igep0020.c +++ b/board/isee/igep0020/igep0020.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -91,6 +92,14 @@ static void setup_net_chip(void) } #endif +#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/igep0020.h b/include/configs/igep0020.h index 34e8a57..962f278 100644 --- a/include/configs/igep0020.h +++ b/include/configs/igep0020.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 */