mtd: rawnand: omap2: Prevent invalid configuration and build error
authorRoger Quadros <rogerq@kernel.org>
Tue, 18 Jan 2022 12:35:25 +0000 (14:35 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 25 Jan 2022 09:32:07 +0000 (10:32 +0100)
commit4cd335dae3cf25412427938d8abbaf04d46e63b5
tree30e709ab3333b5379f24d1f2e1a2ba829797de43
parent3dd8ba961b9356c4113b96541c752c73d98fef70
mtd: rawnand: omap2: Prevent invalid configuration and build error

We need to select MEMORY as well otherwise OMAP_GPMC will not be built.
For simplicity let's select MEMORY and OMAP_GPMC unconditionally as
this driver depends on OMAP_GPMC driver and uses symbols from there.

Fixes: dbcb124acebd ("mtd: rawnand: omap2: Select GPMC device driver for ARCH_K3")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220118123525.8020-1-rogerq@kernel.org
drivers/mtd/nand/raw/Kconfig