From patchwork Wed Dec 7 13:10:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 87100 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp306751qgi; Wed, 7 Dec 2016 05:11:29 -0800 (PST) X-Received: by 10.194.236.135 with SMTP id uu7mr60118198wjc.195.1481116289005; Wed, 07 Dec 2016 05:11:29 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id ee4si24290135wjd.283.2016.12.07.05.11.28; Wed, 07 Dec 2016 05:11:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id ACCDFA75C2; Wed, 7 Dec 2016 14:11:22 +0100 (CET) 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 LdVYOzfLxjP4; Wed, 7 Dec 2016 14:11:22 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8E84AA75FB; Wed, 7 Dec 2016 14:11:17 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F06C2A75F9 for ; Wed, 7 Dec 2016 14:11:09 +0100 (CET) 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 keCXRLVjxGgk for ; Wed, 7 Dec 2016 14:11:09 +0100 (CET) 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 conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by theia.denx.de (Postfix) with ESMTPS id 1E288A75A9 for ; Wed, 7 Dec 2016 14:11:05 +0100 (CET) Received: from pug.jp.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id uB7DAZxR003359; Wed, 7 Dec 2016 22:10:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com uB7DAZxR003359 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1481116242; bh=g0rflvy+c9vbSRQ9/jm9COux84mfpti6hXo2+qFzrcQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ECC/xf0k68hxtzp6S8zxAtPlOG+nutosVovyycYUNoKPUavlLQJ/VeM+dpJSTLQTj sXO+DSDWdXEPZvIGRgFnVL3XY3RC5Bu6s4JB57BkGtNqeo7D1yecQfu/NT3V+dEzBH UjKHQj8NO+Mi+Sdw/Gs+0Nz1Oexujbg+TOi1Ru9pdNB2w9Ber5BeaekFkdEK17bbJx 4vh9dEvcX+FQKprrQGpTsHGCWbKk2/Frny7CLFTCew9NTUxTJ5kFnYwY/czoP7dRSC m1NF5EbleaN7a+QOh1ahEpoWZsf8vzwhLC3G2iCM492JM3qRZRNTsVjfFmWUyJCfoB 5C2kCUGSPFxZw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Wed, 7 Dec 2016 22:10:30 +0900 Message-Id: <1481116230-9495-7-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1481116230-9495-1-git-send-email-yamada.masahiro@socionext.com> References: <1481116230-9495-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini Subject: [U-Boot] [PATCH v2 6/6] mmc: move MMC_SDHCI_IO_ACCESSORS to Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This is a user-unconfigurable option that is selected by the drivers that need to overwrite SDHCI IO memory accessors. (BCM2835 SDHCI seems the only driver that needs to do so.) Signed-off-by: Masahiro Yamada Reviewed-by: Tom Rini --- Changes in v2: None drivers/mmc/Kconfig | 8 ++++++++ include/configs/rpi.h | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) -- 2.7.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot Reviewed-by: Jaehoon Chung diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 521c741..12df3cf 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -132,6 +132,13 @@ config MMC_SDHCI If unsure, say N. +config MMC_SDHCI_IO_ACCESSORS + bool + depends on MMC_SDHCI + help + This is silent Kconfig symbol that is selected by the drivers that + need to overwrite SDHCI IO memory accessors. + config MMC_SDHCI_SDMA bool "Support SDHCI SDMA" depends on MMC_SDHCI @@ -143,6 +150,7 @@ config MMC_SDHCI_BCM2835 tristate "SDHCI support for the BCM2835 SD/MMC Controller" depends on ARCH_BCM283X depends on MMC_SDHCI + select MMC_SDHCI_IO_ACCESSORS help This selects the BCM2835 SD/MMC controller. diff --git a/include/configs/rpi.h b/include/configs/rpi.h index 8005ac1..45d8824 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -83,7 +83,6 @@ /* SD/MMC configuration */ #define CONFIG_GENERIC_MMC -#define CONFIG_MMC_SDHCI_IO_ACCESSORS #ifdef CONFIG_CMD_USB #define CONFIG_USB_DWC2