mtd: rawnand: omap2: Actually prevent invalid configuration and build error
authorRoger Quadros <rogerq@kernel.org>
Sat, 19 Feb 2022 19:36:00 +0000 (21:36 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 25 Feb 2022 11:11:07 +0000 (12:11 +0100)
commit7cf1de957a980d96d8b9c9e481c8bb1ad53fd99b
treef7efe557f247cf46de07b1ab4bbf6a435ee1e20a
parentcfb92440ee71adcc2105b0890bb01ac3cddb8507
mtd: rawnand: omap2: Actually prevent invalid configuration and build error

The root of the problem is that we are selecting symbols that have
dependencies. This can cause random configurations that can fail.
The cleanest solution is to avoid using select.

This driver uses interfaces from the OMAP_GPMC driver so we have to
depend on it instead.

Fixes: 4cd335dae3cf ("mtd: rawnand: omap2: Prevent invalid configuration and build error")
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220219193600.24892-1-rogerq@kernel.org
drivers/mtd/nand/raw/Kconfig