From patchwork Wed May 24 12:15:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 9745925 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9A5596032B for ; Wed, 24 May 2017 12:19:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 869B928920 for ; Wed, 24 May 2017 12:19:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7998F28971; Wed, 24 May 2017 12:19:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 22EBA28920 for ; Wed, 24 May 2017 12:19:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763796AbdEXMR2 (ORCPT ); Wed, 24 May 2017 08:17:28 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34758 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763740AbdEXMQD (ORCPT ); Wed, 24 May 2017 08:16:03 -0400 Received: by mail-wm0-f65.google.com with SMTP id d127so46914142wmf.1 for ; Wed, 24 May 2017 05:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=nIEltGDXymD6VX8rbQZocV1q8IypsLyEq7CjPRasGy0=; b=F4djoUewrzoWV3wN0Bw4GgPAufnmsVSPYX16YHZeA/C7pvB87KRmAO3Ejp4ioHRPLA vDi+CETxZb72fTqg1LoBcRGA75n+O6O/j+72jz8rVgw3fI+sGkn4qTIUUM7/tF/g0L0c 6PoUKmXLiXtQ4kXSoVGhkFylKdcjhNcexq5bHBgNUq86NMw33pYwBnePPobGaBIUn2ff EnTx57KSvhvUAhGBiRiE3MT6KDtVJj3rXJK2MrRt2KlVKXUqaNXOXjgx2EgQXHkcOHzX 7CMfWziTsWopM7UHOxO8VUpKkLE2LxDJW3gVKMuUB95xd7T9dkEw0vcon+JEf7yk4AyH jrMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nIEltGDXymD6VX8rbQZocV1q8IypsLyEq7CjPRasGy0=; b=ksxg5fLAxIPaf8SFI16O1CbFJue/Ojgfo3AksZfZM1XaOGhr3ddb73oCGLtdFBDi7B slBsNZIbGDyrbthRMZzhb8g4FCTCTY4vys6d9hOZyinl68mRgX/60OqWzqot/VgPGGHK YbxLNu8nUtH7tXz5BXpZW5R12fEUNsYwp/eyxSG6QWKjvB8/DiUq6hBoViI0xEP9hmsM K+hJ10GaDIqbvhkz/qKoyp0DoFoYV9HVTvIzzu+CpXBm/SFaa3lZwPIhsrTNYbP6VogO tMB3IW48C+w3551dglRHLnt2Dii4IG3bfwBdQk6yvWkRdc9/93WO7Q5hiozLFaU3B5Jk BVBQ== X-Gm-Message-State: AODbwcCfQ7Lmq510gOpXPSUoPuNbBSA4+VDcbauAD8pMkJ0yvMQmUwq/ 4PE52XEhKhBg/A== X-Received: by 10.223.161.144 with SMTP id u16mr18691535wru.145.1495628162021; Wed, 24 May 2017 05:16:02 -0700 (PDT) Received: from neo.roving-it.com.com (f.2.f.a.a.8.e.f.f.f.5.c.0.e.e.5.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681:5ee0:c5ff:fe8a:af2f]) by smtp.googlemail.com with ESMTPSA id u88sm4316840wrc.20.2017.05.24.05.16.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 May 2017 05:16:01 -0700 (PDT) From: Peter Robinson To: Ulf Hansson , Adrian Hunter , Stefan Wahren , linux-mmc@vger.kernel.org Cc: Peter Robinson Subject: [PATCH] mmc: host: tighten some of the dependencies on SoC drivers Date: Wed, 24 May 2017 13:15:56 +0100 Message-Id: <20170524121556.27819-1-pbrobinson@gmail.com> X-Mailer: git-send-email 2.13.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Cleanup and tighten some of the dependencies for SoC specific hardware, remove a duplication on MMC_SDHI, and add COMPILE_TEST where we add SoC specifics to ensure continued build coverage. Signed-off-by: Peter Robinson --- drivers/mmc/host/Kconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 2db84dd664d7..a2818c813499 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -134,6 +134,7 @@ config MMC_SDHCI_OF_ARASAN config MMC_SDHCI_OF_AT91 tristate "SDHCI OF support for the Atmel SDMMC controller" depends on MMC_SDHCI_PLTFM + depends on ARCH_AT91 || COMPILE_TEST depends on OF help This selects the Atmel SDMMC driver @@ -572,7 +573,6 @@ config MMC_TMIO config MMC_SDHI tristate "SH-Mobile SDHI SD/SDIO controller support" - depends on SUPERH || ARM || ARM64 depends on SUPERH || ARCH_RENESAS || COMPILE_TEST select MMC_TMIO_CORE help @@ -634,7 +634,7 @@ config MMC_CAVIUM_OCTEON config MMC_CAVIUM_THUNDERX tristate "Cavium ThunderX SD/MMC Card Interface support" - depends on PCI && 64BIT && (ARM64 || COMPILE_TEST) + depends on PCI && 64BIT && (ARCH_THUNDER || COMPILE_TEST) depends on GPIOLIB depends on OF_ADDRESS help @@ -836,6 +836,7 @@ config MMC_BCM2835 config MMC_MTK tristate "MediaTek SD/MMC Card Interface support" + depends on ARCH_MEDIATEK || COMPILE_TEST depends on HAS_DMA help This selects the MediaTek(R) Secure digital and Multimedia card Interface. @@ -866,6 +867,7 @@ config MMC_SDHCI_BRCMSTB config MMC_SDHCI_XENON tristate "Marvell Xenon eMMC/SD/SDIO SDHCI driver" + depends on ARCH_MVEBU || COMPILE_TEST depends on MMC_SDHCI_PLTFM help This selects Marvell Xenon eMMC/SD/SDIO SDHCI.