From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83E431A4B4C; Tue, 30 Jul 2024 16:08:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722355727; cv=none; b=nyXG6SdwWWlfdeCNGwhWhOAdJz5xQripLOyD3bFha5HCzuhbDnnKu7YToko8swnM75VzfH7P+YCewft2+FzFWKcgNW9RSjsSxgOZszpnX7UkmQpJoqxkJh6Yve2C0ugIrLiTzkTitRppQ6Va/SG/LYIUchIyNMeCCNIHbdFRxo4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722355727; c=relaxed/simple; bh=FJlj/AcmdpT+WWjebGhxj/r/+J2nQZrriPru8AP130E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZZpi64okp1O+NZmks6Uom6NbCru5Jb1/owzhkgvWAEPJgGi04YUmI3fXwa+CCjfUgeZHT6PzoO5RFSBSjY2QdTCRGe5kSLm1XHyXZOBfuK1TWUAiUBwogo0ZVITY69usaF2rpFPLnMC83KV5TlX1pW89g/GxCyxW3JrdwolPLa0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nU4rVNLU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="nU4rVNLU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7A55C32782; Tue, 30 Jul 2024 16:08:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722355727; bh=FJlj/AcmdpT+WWjebGhxj/r/+J2nQZrriPru8AP130E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nU4rVNLUZW5wMvfmrWBOo+OcFwbIMrSWbIEg4Y304Sdl6cbJa4N3Oj4HZawAykhj3 TxqPE3AVg63JhZlZy1kkxsprgL3zA4JwtkifJ7PyhMQaBn+/XK7lwXS6sq/5qfl3+H sChBuihmJkdvxbZ6rdnuPH8TXHRdeOveCvoEw810= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Miquel Raynal , Esben Haabendal , Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 6.10 074/809] memory: fsl_ifc: Make FSL_IFC config visible and selectable Date: Tue, 30 Jul 2024 17:39:10 +0200 Message-ID: <20240730151727.563694753@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240730151724.637682316@linuxfoundation.org> References: <20240730151724.637682316@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Esben Haabendal [ Upstream commit 9ba0cae3cac07c21c583f9ff194f74043f90d29c ] While use of fsl_ifc driver with NAND flash is fine, as the fsl_ifc_nand driver selects FSL_IFC automatically, we need the CONFIG_FSL_IFC option to be selectable for platforms using fsl_ifc with NOR flash. Fixes: ea0c0ad6b6eb ("memory: Enable compile testing for most of the drivers") Reviewed-by: Miquel Raynal Signed-off-by: Esben Haabendal Link: https://lore.kernel.org/r/20240530-fsl-ifc-config-v3-1-1fd2c3d233dd@geanix.com Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sasha Levin --- drivers/memory/Kconfig | 2 +- drivers/mtd/nand/raw/Kconfig | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index 8efdd1f971395..c82d8d8a16eaf 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig @@ -167,7 +167,7 @@ config FSL_CORENET_CF represents a coherency violation. config FSL_IFC - bool "Freescale IFC driver" if COMPILE_TEST + bool "Freescale IFC driver" depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST depends on HAS_IOMEM diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index cbf8ae85e1ae0..6142573085169 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -234,8 +234,7 @@ config MTD_NAND_FSL_IFC tristate "Freescale IFC NAND controller" depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST depends on HAS_IOMEM - select FSL_IFC - select MEMORY + depends on FSL_IFC help Various Freescale chips e.g P1010, include a NAND Flash machine with built-in hardware ECC capabilities. -- 2.43.0