Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4048939pxb; Mon, 8 Feb 2021 06:47:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVRgBpjOBHujL9rpWiE6jEuHilv/vNzokZvid8t8C7MywjvD28L7C3qRTr++FN6sg49Ln/ X-Received: by 2002:a17:906:12d2:: with SMTP id l18mr7033576ejb.308.1612795663609; Mon, 08 Feb 2021 06:47:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612795663; cv=none; d=google.com; s=arc-20160816; b=acOIxFZRSIKw3ZELSV2FkXkmEfCAthzWm5ltfvOb7meW+6mpTLOllH3KZ/sBPYTOgy dqNVuk9g8BM0/SeO4aQwG1VZd/irEobc9u4d/RVs3vzYebd6F+167XS0It73t2Nwf71i rF86FGOixZHiH94spk8xy7hzgG0elin2LIXWD1jwvlaY+MS759CFYniBTyfuGhCJ6x3C zto8Yr4dtq87/nSagGMefOri/3bnHIeDAQHxj5b2CA4LYV08cCplMG0zFBwUvj5zIDgl b6J1UtNszsNCb8bS/5PhVGgWX/sURYOnZ6Dh0aS/DLYhlhVuaL0umscRwIgrBW1fWweD /0pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=SxctVHJcBConNy3muf+wFYkNErtugdspmnODeONb7+8=; b=f40G6oLfxD6f83bnZPxarAM3jRjloK1ZTHRYkW8hK0CvHlI6nkTpXmUR8ZKU41FEj8 ET1MzGSIWMtTXSip+pG9Qvob/bswYp/MtoSKhSAc+96JLgkqrK52gxlYnRQwdMC0Junz 9AQv+zW0T+6N7pjOM1dy1Evv4sH70i6NoYIMPMrWVZTUWM7qKiBjLK1Lc72m0UIN8dwu TNHq6YeRuac/bpoycD84Ayk+PpjQxjDebP0IOHa00Jjj3IZs/hatit8wT4DJ5jVD5mJz sxZxvqjplo0lQEzxM4oTpzXBKcL7dAphaR4iowavbMWCSEh+vEETWXh+0jIgAZf0LkGe oHUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a7si6139428ejj.40.2021.02.08.06.47.19; Mon, 08 Feb 2021 06:47:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232770AbhBHOqg (ORCPT + 99 others); Mon, 8 Feb 2021 09:46:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231983AbhBHOby (ORCPT ); Mon, 8 Feb 2021 09:31:54 -0500 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23C4EC061788 for ; Mon, 8 Feb 2021 06:23:09 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by andre.telenet-ops.be with bizsmtp id SeP62400b4C55Sk01eP6KW; Mon, 08 Feb 2021 15:23:07 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l97RS-004dqT-B5; Mon, 08 Feb 2021 15:23:06 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1l97RR-001jbR-Pc; Mon, 08 Feb 2021 15:23:05 +0100 From: Geert Uytterhoeven To: Hou Zhiqiang , Lorenzo Pieralisi , Rob Herring , Bjorn Helgaas Cc: Andrew Murray , Minghuan Lian , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] PCI: mobiveil: Improve PCIE_LAYERSCAPE_GEN4 dependencies Date: Mon, 8 Feb 2021 15:23:01 +0100 Message-Id: <20210208142301.413582-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - Drop the dependency on PCI, as this is implied by the dependency on PCI_MSI_IRQ_DOMAIN, - Drop the dependencies on OF and ARM64, as the driver compiles fine without OF and/or on other architectures, - The Freescale Layerscape PCIe Gen4 controller is present only on Freescale Layerscape SoCs. Hence depend on ARCH_LAYERSCAPE, to prevent asking the user about this driver when configuring a kernel without Freescale Layerscape support, unless compile-testing. Signed-off-by: Geert Uytterhoeven --- drivers/pci/controller/mobiveil/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pci/controller/mobiveil/Kconfig b/drivers/pci/controller/mobiveil/Kconfig index a62d247018cf6b51..e4643fb94e78f3da 100644 --- a/drivers/pci/controller/mobiveil/Kconfig +++ b/drivers/pci/controller/mobiveil/Kconfig @@ -24,8 +24,7 @@ config PCIE_MOBIVEIL_PLAT config PCIE_LAYERSCAPE_GEN4 bool "Freescale Layerscape PCIe Gen4 controller" - depends on PCI - depends on OF && (ARM64 || ARCH_LAYERSCAPE) + depends on ARCH_LAYERSCAPE || COMPILE_TEST depends on PCI_MSI_IRQ_DOMAIN select PCIE_MOBIVEIL_HOST help -- 2.25.1