From patchwork Sun Dec 4 13:23:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 86452 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1054863qgi; Sun, 4 Dec 2016 05:24:13 -0800 (PST) X-Received: by 10.194.54.99 with SMTP id i3mr46109653wjp.86.1480857853607; Sun, 04 Dec 2016 05:24:13 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id u128si9504660wmf.96.2016.12.04.05.24.12; Sun, 04 Dec 2016 05:24:13 -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 2AE2C4BA35; Sun, 4 Dec 2016 14:24:12 +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 HGfRAiDoVtAN; Sun, 4 Dec 2016 14:24:12 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9CE48A7593; Sun, 4 Dec 2016 14:24:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 07E00A7597 for ; Sun, 4 Dec 2016 14:24:06 +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 f6Kj047a6bTc for ; Sun, 4 Dec 2016 14:24:05 +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-11.nifty.com (conuserg-11.nifty.com [210.131.2.78]) by theia.denx.de (Postfix) with ESMTPS id 265C7A7593 for ; Sun, 4 Dec 2016 14:24:01 +0100 (CET) Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-11.nifty.com with ESMTP id uB4DNQ6m032395; Sun, 4 Dec 2016 22:23:33 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com uB4DNQ6m032395 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1480857813; bh=hURbA1lRZNSIGxGrA75lBio1eeI1pGYdgQ7VX+9MksY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kca28DTXd12AUU0bwmpZyHjhOv8HGW0y6l2qLOrKE0es17JDys7yH5zuPOx/ITmGo U8ydjwZhxNoQ8WzA8PIjR+qNUVWDk63pKxE14wNwQVK5qRAYDyaD8T530b6eLqnzcd oYmRXO3F/6D58/teD/XS77cA1BHhIg4Y/aXqvNaeNPQ3DO0jeEqvpX+V1uysd1ZPAu SmpUA27IHKp9hK8ZD2QbR3GAd3p/u3Ow8NeNUwP5elv6cScsDX6jI2U4Swn7VJoJ46 l1EsF+eRK3AvS/L3TpUnyPVg+VWTaBYAH3gH1Y/DGq/MKUEcnRblE3Q3y4BQ1UbQ7t cYCKDdOVHroAw== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sun, 4 Dec 2016 22:23:14 +0900 Message-Id: <1480857794-27145-7-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1480857794-27145-1-git-send-email-yamada.masahiro@socionext.com> References: <1480857794-27145-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini Subject: [U-Boot] [PATCH 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 an 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 --- 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: Tom Rini diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 4785d71..2e84492 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 @@ -142,6 +149,7 @@ config MMC_SDHCI_SDMA config MMC_SDHCI_BCM2835 tristate "SDHCI support for the BCM2835 SD/MMC Controller" 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