mtd: rawnand: stm32_fmc2: depends on ARCH_STM32 instead of MACH_STM32MP157

To be able to compile the driver on all STM32MP SOCs, we move the
"depends on" on ARCH_STM32.

Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230324155105.826063-3-christophe.kerello@foss.st.com
This commit is contained in:
Christophe Kerello 2023-03-24 16:51:05 +01:00 committed by Miquel Raynal
parent cb70cf99ab
commit bb685c1f35

View File

@ -373,7 +373,7 @@ config MTD_NAND_TEGRA
config MTD_NAND_STM32_FMC2 config MTD_NAND_STM32_FMC2
tristate "Support for NAND controller on STM32MP SoCs" tristate "Support for NAND controller on STM32MP SoCs"
depends on MACH_STM32MP157 || COMPILE_TEST depends on ARCH_STM32 || COMPILE_TEST
select MFD_SYSCON select MFD_SYSCON
help help
Enables support for NAND Flash chips on SoCs containing the FMC2 Enables support for NAND Flash chips on SoCs containing the FMC2