[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20220512152743.245075-1-miquel.raynal@bootlin.com>
Date: Thu, 12 May 2022 17:27:43 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Geert Uytterhoeven <geert+renesas@...der.be>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Matthias Brugger <matthias.bgg@...il.com>,
Chuanhong Guo <gch981213@...il.com>
Cc: linux-mtd@...ts.infradead.org, linux-mediatek@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: nand: MTD_NAND_ECC_MEDIATEK should depend on ARCH_MEDIATEK
On Mon, 2022-05-09 at 13:50:02 UTC, Geert Uytterhoeven wrote:
> The MediaTek Hardware ECC Engine is only present on MediaTek MT27xx and
> MT76xx SoCs. The driver for this engine is a dependency for the
> MediaTek NAND controller (MTD_NAND_MTK) and the MediaTek SPI NAND Flash
> Interface (SPI_MTK_SNFI) drivers, both of which already depend on
> ARCH_MEDIATEK.
>
> Hence add a dependency on ARCH_MEDIATEK to the Hardware ECC Engine
> driver, too, to prevent asking the user about this driver when
> configuring a kernel without MediaTek SoC support.
>
> Fixes: 4fd62f15afa0d0da ("mtd: nand: make mtk_ecc.c a separated module")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
Powered by blists - more mailing lists