From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E776C43381 for ; Tue, 26 Mar 2019 18:19:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F31962082F for ; Tue, 26 Mar 2019 18:19:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732313AbfCZSTR (ORCPT ); Tue, 26 Mar 2019 14:19:17 -0400 Received: from foss.arm.com ([217.140.101.70]:42218 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732252AbfCZSTR (ORCPT ); Tue, 26 Mar 2019 14:19:17 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 906DA1596; Tue, 26 Mar 2019 11:19:16 -0700 (PDT) Received: from e107981-ln.cambridge.arm.com (e107981-ln.cambridge.arm.com [10.1.197.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E668C3F575; Tue, 26 Mar 2019 11:19:14 -0700 (PDT) Date: Tue, 26 Mar 2019 18:19:12 +0000 From: Lorenzo Pieralisi To: Leonard Crestez Cc: Lucas Stach , Trent Piepho , Andrey Smirnov , Stefan Agner , Richard Zhu , dl-linux-imx , Shawn Guo , "linux-pci@vger.kernel.org" Subject: Re: [PATCH] PCI: imx6: Simplify Kconfig depends on Message-ID: <20190326181912.GB12093@e107981-ln.cambridge.arm.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Mon, Mar 11, 2019 at 06:59:28PM +0000, Leonard Crestez wrote: > In theory this driver can be used on imx6sx without enabling support for > imx6q or imx7d but the "depends on" condition doesn't allow that. > > Instead of making the condition even longer just make it depend on > "ARCH_MXC || COMPILE_TEST" instead. > > Signed-off-by: Leonard Crestez > --- > drivers/pci/controller/dwc/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig > index 6ea74b1c0d94..21747fd0e799 100644 > --- a/drivers/pci/controller/dwc/Kconfig > +++ b/drivers/pci/controller/dwc/Kconfig > @@ -88,11 +88,11 @@ config PCI_EXYNOS > depends on PCI_MSI_IRQ_DOMAIN > select PCIE_DW_HOST > > config PCI_IMX6 > bool "Freescale i.MX6/7/8 PCIe controller" > - depends on SOC_IMX6Q || SOC_IMX7D || (ARM64 && ARCH_MXC) || COMPILE_TEST > + depends on ARCH_MXC || COMPILE_TEST > depends on PCI_MSI_IRQ_DOMAIN > select PCIE_DW_HOST If Lucas does not spot any problem with this patch I would request his ACK to merge it, thanks. Lorenzo