From patchwork Mon Mar 11 18:59:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leonard Crestez X-Patchwork-Id: 10848143 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6FD721823 for ; Mon, 11 Mar 2019 18:59:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5AA3B29190 for ; Mon, 11 Mar 2019 18:59:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E4F829196; Mon, 11 Mar 2019 18:59:42 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 DB8112913C for ; Mon, 11 Mar 2019 18:59:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727611AbfCKS7k (ORCPT ); Mon, 11 Mar 2019 14:59:40 -0400 Received: from mail-eopbgr150074.outbound.protection.outlook.com ([40.107.15.74]:10614 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728250AbfCKS7h (ORCPT ); Mon, 11 Mar 2019 14:59:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6onypBbkH2t5lMbELoL+2z29LCAR0bYI9W8BQC3lnAk=; b=YPJ30NmAB6slrCThMxsTU1pyqFYK4nR6iqYO98Bb5wjBJLnGRH6cBdZZDPr8x0gwYgG4iralLVbYpsRcKOSjePQtQXVGWWkmMzytngMNXh428o2/eS3XY0NhTh62j+5t/J71GSvWkV/swEzUR9cALganbmrKRfhJ9ZPSBCpE6CA= Received: from VI1PR04MB5533.eurprd04.prod.outlook.com (20.178.122.159) by VI1PR04MB4911.eurprd04.prod.outlook.com (20.177.49.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.16; Mon, 11 Mar 2019 18:59:28 +0000 Received: from VI1PR04MB5533.eurprd04.prod.outlook.com ([fe80::35aa:e13a:52ea:e5e6]) by VI1PR04MB5533.eurprd04.prod.outlook.com ([fe80::35aa:e13a:52ea:e5e6%3]) with mapi id 15.20.1686.021; Mon, 11 Mar 2019 18:59:28 +0000 From: Leonard Crestez To: Lucas Stach , Lorenzo Pieralisi CC: Trent Piepho , Andrey Smirnov , Stefan Agner , Richard Zhu , dl-linux-imx , Shawn Guo , "linux-pci@vger.kernel.org" Subject: [PATCH] PCI: imx6: Simplify Kconfig depends on Thread-Topic: [PATCH] PCI: imx6: Simplify Kconfig depends on Thread-Index: AQHU2DyNuTuwA21czUeOVRo2YY20PA== Date: Mon, 11 Mar 2019 18:59:28 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [95.76.156.53] x-mailer: git-send-email 2.17.1 x-clientproxiedby: AM5P194CA0018.EURP194.PROD.OUTLOOK.COM (2603:10a6:203:8f::28) To VI1PR04MB5533.eurprd04.prod.outlook.com (2603:10a6:803:d2::31) authentication-results: spf=none (sender IP is ) smtp.mailfrom=leonard.crestez@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bf8fbfbd-e58f-4ba5-5e5c-08d6a653afc0 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:VI1PR04MB4911; x-ms-traffictypediagnostic: VI1PR04MB4911: x-microsoft-exchange-diagnostics: =?iso-8859-1?q?1=3BVI1PR04MB4911=3B23=3APS?= =?iso-8859-1?q?L8QmQKbu0El7nhYwWNwf6EmZUefMlYravtXiUQMudmQVzdpM08lrUEmFzg7M?= =?iso-8859-1?q?IJusixfWfEzi6swosEIHBaJyOihu2ltTZc4tFbj0Yk3EqyGGXKN/uAIz78DK?= =?iso-8859-1?q?nWIsPUWC2NEDXy0rs0ggZyQHy8geXodBEDqp+4eoPQiRuJByhsi105UCQmTl?= =?iso-8859-1?q?tU7qA4XX4USD2hcVLhmWaExay/ZaSdkt5q9VUQJ0bmVvloW9FBVRKglnec8S?= =?iso-8859-1?q?Db8NVb5XtxaLQL2EYAdtMi422SmylgzwY/zr/IbTNW0KDpdgdTHk2ud/yVUq?= =?iso-8859-1?q?Xtso4Kfi0GyIt0D//Wn40QpKM4g3xIPcs5AEOJGl7H9y82CqjQgkbDUcrwQx?= =?iso-8859-1?q?N1qvchgprOjkrbiRoGRJdZXmHLe3bsRAsDP7ihTOdJG49Lm8VF95k/1YNVAe?= =?iso-8859-1?q?EhW0Fs+fc6e4OGHqyMAhL+yNRdYeEzDnbusl+XxhspxIbBSM4ZDG9wVCqhb2?= =?iso-8859-1?q?mhZbVRfeiY2deC+ScxQAQEdUT7M1wrd1vu1OIr9G7lYCd3Vb14TaCRztqA7g?= =?iso-8859-1?q?q1MEg7l1jlkdj9Y/AgQtGPnpV3pI+R0gk8Eq0IqFLFf6c/J2u4iS2DrCPnuU?= =?iso-8859-1?q?rzlP7QTqEYS4t7H78Hlm5aFlVQKzmRT25Kro6dHef33E9fyJvpUF3ieSw1Rg?= =?iso-8859-1?q?EP2IAPl6t6HaKx18CPAiwjI/V+GeGcVT4epCzWsnzWSmB2RxhhrVwt1MG9Cp?= =?iso-8859-1?q?atUqwQREbonHKbTKl7xlm2mHcvqRhiHdSC2cpoyqeNRh2erM4HI7w8oCjj0Q?= =?iso-8859-1?q?V8iy4T9czP1WJ7D0EsvvJB0FYf51AfxPIfq2dafOhobpJz0FPnDdqwsWtHeW?= =?iso-8859-1?q?kHjtA36BXVlbnrO+FWw7KlgwZG5n9yUu8GY4D3ccN45DZQP8yu4lJ+AaCj+o?= =?iso-8859-1?q?mQgt0+0aEDywdPGVd4TfQMO7KIC3cHEQAqnW3jp3tXKIM4srXaISh5NOFrNV?= =?iso-8859-1?q?sWI0S0UCz6kwfKM3IHJS4YqY2uwut5F6KLYXEL753z1aQHdAZP3lK1pGFb7v?= =?iso-8859-1?q?LLcJOmNI3AXttuV2ON/jjITn/1SIjjoysuTNz3Zce3M8hx4nn+HhnZ+hPT1d?= =?iso-8859-1?q?Da86Fs1bNgRrrG9QGjZuCJ5hwVcN8kX3nZYFa4BAMMn6zMp5JoqzeKCkChNK?= =?iso-8859-1?q?iq2hKd1MD0Kmx+XDzivMsDmmF8i8u2dhXQp23xPZPd0PJxxt+TMnru4WAict?= =?iso-8859-1?q?22jtGNgARqZXx3?= x-microsoft-antispam-prvs: x-forefront-prvs: 09730BD177 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39860400002)(376002)(346002)(366004)(136003)(189003)(199004)(486006)(14444005)(256004)(44832011)(66066001)(5660300002)(68736007)(4744005)(478600001)(476003)(97736004)(6486002)(2616005)(86362001)(36756003)(105586002)(99286004)(4326008)(2906002)(25786009)(186003)(26005)(81156014)(81166006)(8936002)(71190400001)(8676002)(52116002)(305945005)(106356001)(50226002)(6436002)(71200400001)(6116002)(3846002)(118296001)(53936002)(102836004)(54906003)(14454004)(110136005)(316002)(7736002)(386003)(6506007)(6512007);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB4911;H:VI1PR04MB5533.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ke1VpGG9p/SMY9gMXkfnkFjKQ0Wz1SIvrkjfS86zJ7hQTHmhps6UD5ceImkt0vICPVXdf0Pjn4kVA/LgdVeHfCg611e/i/mNiChga/RwVsjSszLSeNNHKLU3P6vYcCcCeBlzXhPIv8/HeWP9r3JNOvoKkZ65azZairXF/H//h7HQVCGYtGkd9jOCqcFbNfZG7WUohQyKJxkluclvEva4NG+8mWp3KESXYtRhksIpXBv5Nl7z7e4C/+6gs1UomHM44HHxoq56V6hsbTkFX6Opo4+Fsr8vghj7AQoJzwt8KWv/iNNXQvGPHNdiI8JzENlIz3BFcOIarz++Pcz7yvdBofJhf3KX3CuON0zMewwByyOLHRPImqYFZffjZLHJYj355wPRj/xqFE+hA3FXfVJpoZupqaVIUZaLKccdcuVPhIM= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bf8fbfbd-e58f-4ba5-5e5c-08d6a653afc0 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2019 18:59:28.3462 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4911 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Lucas Stach --- 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 config PCIE_SPEAR13XX bool "STMicroelectronics SPEAr PCIe controller"