Skip to content

Commit 42da5a4

Browse files
rogerqmiquelraynal
authored andcommitted
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: 4cd335d ("mtd: rawnand: omap2: Prevent invalid configuration and build error") Signed-off-by: Roger Quadros <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Tested-by: Randy Dunlap <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent ffb217a commit 42da5a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/mtd/nand/raw/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ config MTD_NAND_OMAP2
4242
tristate "OMAP2, OMAP3, OMAP4 and Keystone NAND controller"
4343
depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
4444
depends on HAS_IOMEM
45-
select MEMORY
46-
select OMAP_GPMC
45+
depends on OMAP_GPMC
4746
help
4847
Support for NAND flash on Texas Instruments OMAP2, OMAP3, OMAP4
4948
and Keystone platforms.

0 commit comments

Comments
 (0)