From patchwork Wed Mar 8 12:49:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13165717 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CF23CC64EC4 for ; Wed, 8 Mar 2023 13:17:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=T0/FIZxdgOq7rOBY7uWoi63pBXzeV2Y2Vl+Pox+JhQA=; b=jSe2HW+RqQUe42 2hN6ksLbVAF1BscNodlRAMM9CJk8ILrJ91+09CYmBvTnTOFMjqCQReer3l4xv9zK6zmp98ihfE0nl d96Mn73glHil/oQ5LJ+kfvI0DcHwqlbS/9zukExg+QsrtLW5BTbzxbKav9QrP9rPEn//JMETrpFm8 xAx0gJwUywJHNKzCcgJh8HHPfFwD5W+FkU5/nC7qTlV852sXfClfZS+mTQuILJqJfUH2q122QQ+lc CgDcMUQQ6Mc/625r8TPRvx5SbsXjo0RfsPYdRH9gfJNQ2B6f70gSvmGpmLtC2Q+yKvGUflYgxDaZ6 RosLWLAVwYMTDrgOC+Hw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZteh-0058E5-2I; Wed, 08 Mar 2023 13:16:31 +0000 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZtdh-0057iA-0H for linux-arm-kernel@lists.infradead.org; Wed, 08 Mar 2023 13:15:30 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:614d:21b0:703:d0f9]) by baptiste.telenet-ops.be with bizsmtp id VpFL2900G3mNwr401pFLC5; Wed, 08 Mar 2023 14:15:22 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1pZtd0-00BF17-DA; Wed, 08 Mar 2023 14:15:20 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1pZtEe-00FVSN-9A; Wed, 08 Mar 2023 13:49:36 +0100 From: Geert Uytterhoeven To: Damien Le Moal Cc: linux-ide@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Arnd Bergmann , Li Yang Subject: [PATCH v2 resend 3] ahci: qoriq: Add platform dependencies Date: Wed, 8 Mar 2023 13:49:34 +0100 Message-Id: <3b6733f683c13ac02093206e76a3e30c7d045366.1678279668.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230308_051529_216717_7D1FA7AC X-CRM114-Status: GOOD ( 10.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Freescale QorIQ AHCI SATA controller is only present on Freescale Layerscape SoCs. Add platform dependencies to the AHCI_QORIQ config symbol, to avoid asking the user about it when configuring a kernel without Layerscape support. Signed-off-by: Geert Uytterhoeven Acked-by: Arnd Bergmann Acked-by: Li Yang --- v2: - Add Acked-by. --- drivers/ata/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index b56fba76b43f48f7..42b51c9812a0ebab 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -276,6 +276,7 @@ config AHCI_XGENE config AHCI_QORIQ tristate "Freescale QorIQ AHCI SATA support" depends on OF + depends on SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST select SATA_HOST help This option enables support for the Freescale QorIQ AHCI SoC's