From patchwork Tue Nov 17 16:08:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 7638851 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CD520BF90C for ; Tue, 17 Nov 2015 16:14:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F39AA20528 for ; Tue, 17 Nov 2015 16:14:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1CB2B20131 for ; Tue, 17 Nov 2015 16:14:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752578AbbKQQO3 (ORCPT ); Tue, 17 Nov 2015 11:14:29 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:60874 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752143AbbKQQO2 (ORCPT ); Tue, 17 Nov 2015 11:14:28 -0500 X-Greylist: delayed 321 seconds by postgrey-1.27 at vger.kernel.org; Tue, 17 Nov 2015 11:14:28 EST Received: from wuerfel.localnet ([134.3.118.24]) by mrelayeu.kundenserver.de (mreue002) with ESMTPSA (Nemesis) id 0LhoMU-1akj5P3tas-00n8lC; Tue, 17 Nov 2015 17:08:34 +0100 From: Arnd Bergmann To: Bjorn Helgaas Cc: Hauke Mehrtens , linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Ray Jui , zajec5@gmail.com Subject: [PATCH] PCI: iproc: hide CONFIG_PCIE_IPROC Date: Tue, 17 Nov 2015 17:08:33 +0100 Message-ID: <11420214.lrdhuUq0ZO@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:eiRmsWjbFTupSSkBCEK4Z1bynWY1S8+dXLSnZgMMA/Wzy2zGiTY uc74YlnUDu4N7Pq/Icz5iw5rpJdU1fxCYK3DalS/4lCz4Gra7lsiQkxGvhW7pHnfP7E7rAq Drtd47Ma3XaqgPdnomeygGJe/O/j1Yp+t3vJTm6RG8Wo5deKVDi064P7DjAZNA6RfrpOwma ozZVg0efs6M8+PDxMqRvQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:F451D9JgBs8=:2s/CsbGgMWqWtk5uGld1a/ 8TlRzk1tTz1UEZZyGC3grWijYGjRhti0Z45j7qBo945PXmbMvMjxEaururdguFmgLJ5Q5gcaV IowD8hSnG+PpVpwzP8o+ltPliJ6HV6ITjP62My9V7E74EkGATKi9CAJvfjm/yKx5edSH70q0E 5WcHIg9K0oYq2WQYwL1zpeMsV+KSKUG+g7vRrxitCFe5hIgT4T2DhGiWqDy+VZ8otKfMoieQ5 NpeLhrS4xMNCZdY99zNrGrs8tn3vqgDKTkYqYgTHJAb/ThVZYdhGsn/+P2qjyxFpasfg+Xqx5 //P1ESaxSb2gVKyIV8iZ360WPbVChzx11nBtHpHEvIJM1Q6l0yXX83kJnx3hQkigGbwxn0Anu SKKbuJYNS0XRR4pNbLdCRLdNUTPPC+eH+6j7blPfwVdPqgUx8mpuUVAWfXSt/5nIecqfQZEi6 Kjsky/7FCyAjXtiQt0jRsh5njXURTmKTAEcLW5rVVhLF1SgZHwlI4/yZotPWfX0Fyz61fHyOq rSSxAjknom6YZJdbh1Rk4brkPez08xKj3MqRxeTuBj7vtvEQGa7PmtaHouUg7pmBVL1MRQblS 4XtWAgif6aSnuZ3fT45+81FWy4qjnxt0r3TjRh1OFYm4cgyWYRkFFh1O7HDD2dpvjPvCoUN8H s4yT3dP7RNux6PGC4PWAF8t6KPSLHcHZVOR0Xgt8HBz3ouZmmYwGFHx6sqn5zx0OOYA2f3oQi OaSqNFx8dDneKaCs Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP PCIE_IPROC_BCMA does not require CONFIG_OF in Kconfig, but CONFIG_PCIE_IPROC does, so we can get a warning when building for an ARM platform without DT support: warning: (PCIE_IPROC_PLATFORM && PCIE_IPROC_BCMA) selects PCIE_IPROC which has unmet direct dependencies (PCI && OF && (ARM || ARM64)) It turns out that CONFIG_PCIE_IPROC never needs to be enabled by a user anyway, we can simply rely on it being selected implictly through either PCIE_IPROC_PLATFORM or PCIE_IPROC_BCMA. Signed-off-by: Arnd Bergmann Fixes: 4785ffbdc9b5 ("PCI: iproc: Add BCMA PCIe driver") Acked-by: Hauke Mehrtens --- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index f131ba947dc6..767605a5c659 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig @@ -118,13 +118,11 @@ config PCI_VERSATILE depends on ARCH_VERSATILE config PCIE_IPROC - tristate "Broadcom iProc PCIe controller" - depends on OF && (ARM || ARM64) - default n + tristate help This enables the iProc PCIe core controller support for Broadcom's - iProc family of SoCs. An appropriate bus interface driver also needs - to be enabled + iProc family of SoCs. An appropriate bus interface driver needs + to be enabled to select this. config PCIE_IPROC_PLATFORM tristate "Broadcom iProc PCIe platform bus driver"