From patchwork Mon Apr 25 06:06:07 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 92700 X-Patchwork-Delegate: vapier@gentoo.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 4EB36B6F07 for ; Mon, 25 Apr 2011 16:06:32 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 04C42281A5; Mon, 25 Apr 2011 08:06:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 UxqlBqkxTcCx; Mon, 25 Apr 2011 08:06:26 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E1D682819B; Mon, 25 Apr 2011 08:06:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 033D628182 for ; Mon, 25 Apr 2011 08:06:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 UxYzKoYMVzWI for ; Mon, 25 Apr 2011 08:06:07 +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 smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by theia.denx.de (Postfix) with ESMTPS id 074DC28181 for ; Mon, 25 Apr 2011 08:06:05 +0200 (CEST) Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id DBCC51B4002 for ; Mon, 25 Apr 2011 06:06:01 +0000 (UTC) From: Mike Frysinger To: u-boot@lists.denx.de Date: Mon, 25 Apr 2011 02:06:07 -0400 Message-Id: <1303711569-26672-2-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 1.7.5.rc1 In-Reply-To: <1303711569-26672-1-git-send-email-vapier@gentoo.org> References: <1303711569-26672-1-git-send-email-vapier@gentoo.org> Subject: [U-Boot] [PATCH 1/3] Blackfin: bf537-stamp/bf527-ad7160-eval: convert to mmc_spi 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 Switch to the new common mmc_spi driver. Signed-off-by: Mike Frysinger --- include/configs/bf527-ad7160-eval.h | 5 ++--- include/configs/bf537-stamp.h | 3 ++- include/configs/bfin_adi_common.h | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/include/configs/bf527-ad7160-eval.h b/include/configs/bf527-ad7160-eval.h index 889bfde..9c35f2d 100644 --- a/include/configs/bf527-ad7160-eval.h +++ b/include/configs/bf527-ad7160-eval.h @@ -128,9 +128,8 @@ * SPI_MMC Settings */ #define CONFIG_MMC -#define CONFIG_CMD_EXT2 -#define CONFIG_SPI_MMC -#define CONFIG_SPI_MMC_DEFAULT_CS (MAX_CTRL_CS + GPIO_PH3) +#define CONFIG_GENERIC_MMC +#define CONFIG_MMC_SPI /* diff --git a/include/configs/bf537-stamp.h b/include/configs/bf537-stamp.h index 3da2375..c31e914 100644 --- a/include/configs/bf537-stamp.h +++ b/include/configs/bf537-stamp.h @@ -137,7 +137,8 @@ * SPI_MMC Settings */ #define CONFIG_MMC -#define CONFIG_SPI_MMC +#define CONFIG_GENERIC_MMC +#define CONFIG_MMC_SPI /* diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h index a9c66be..9e61542 100644 --- a/include/configs/bfin_adi_common.h +++ b/include/configs/bfin_adi_common.h @@ -34,10 +34,14 @@ # define CONFIG_DOS_PARTITION # endif # ifdef CONFIG_MMC +# define CONFIG_CMD_EXT2 # define CONFIG_CMD_FAT # define CONFIG_CMD_MMC # define CONFIG_DOS_PARTITION # endif +# ifdef CONFIG_MMC_SPI +# define CONFIG_CMD_MMC_SPI +# endif # ifdef CONFIG_USB # define CONFIG_CMD_EXT2 # define CONFIG_CMD_FAT