From patchwork Tue Dec 17 14:37:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13911938 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 4DF07E77184 for ; Tue, 17 Dec 2024 14:41:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=gUC+X7AuBRAEhVcTQ10YasH5Ejszj5VFDW/8xemquL4=; b=FksrdrQ52KD5pGAlKwmdCe62Aq 7kiOHvKZHDx1jnE1csixHmqH55AnRlgUOH25TqhT6E6cCB+fuXIxA6PPKa+IVja0RH0Pmt3zISkm2 z8pO/GSZvq7M2Qj+uzT4pSXlJAXB0QuD7U3U8N/Mnq5AMhRUcAPFRelrDlJqY7XYZm08zaOQck7d8 RlNZiwKSNmoLLGCYUyNG7nUnHeC1gGZYX10N/G7WREEeVqU5Q0FOkhNcUe3kiN6JNYr81wD7eoHch /dzXtopp1a0FDObYHCe2plWbjApaB/qXynvcRgNMRDCUUG8jZ+L2keJ3o4TWsOVDXfARTdqIf1s0t ZxipfpOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tNYkz-0000000Dnjm-0XOL; Tue, 17 Dec 2024 14:41:05 +0000 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tNYhs-0000000Dmng-1XMw for linux-arm-kernel@lists.infradead.org; Tue, 17 Dec 2024 14:37:53 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:43e0:bbcf:34a4:f7a0]) by albert.telenet-ops.be with cmsmtp id pqdh2D00R53u7h606qdhJB; Tue, 17 Dec 2024 15:37:44 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1tNYhd-001XtD-VX; Tue, 17 Dec 2024 15:37:41 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1tNYhh-00CHWN-Ao; Tue, 17 Dec 2024 15:37:41 +0100 From: Geert Uytterhoeven To: Arnd Bergmann , Mark Brown , Sudeep Holla , Shengjiu Wang , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] firmware: imx: IMX_SCMI_MISC_DRV should depend on ARCH_MXC Date: Tue, 17 Dec 2024 15:37:40 +0100 Message-Id: <28f88e536cab0abd5712787350b012bb0f1eacb5.1734445715.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-20241217_063752_539859_A627A2C6 X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. 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 i.MX System Controller Management Interface firmware is only present on Freescale i.MX SoCs. Hence add a dependency on ARCH_MXC, to prevent asking the user about this driver when configuring a kernel without Freescale i.MX platform support. Fixes: 514b2262ade48a05 ("firmware: arm_scmi: Fix i.MX build dependency") Signed-off-by: Geert Uytterhoeven --- drivers/firmware/imx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/imx/Kconfig b/drivers/firmware/imx/Kconfig index 907cd149c40a8b5f..c964f4924359fcd3 100644 --- a/drivers/firmware/imx/Kconfig +++ b/drivers/firmware/imx/Kconfig @@ -25,6 +25,7 @@ config IMX_SCU config IMX_SCMI_MISC_DRV tristate "IMX SCMI MISC Protocol driver" + depends on ARCH_MXC || COMPILE_TEST default y if ARCH_MXC help The System Controller Management Interface firmware (SCMI FW) is