mtd: rawnand: stm32_fmc2: depends on ARCH_STM32 instead of MACH_STM32MP157
authorChristophe Kerello <christophe.kerello@foss.st.com>
Fri, 24 Mar 2023 15:51:05 +0000 (16:51 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 28 Mar 2023 12:57:04 +0000 (14:57 +0200)
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
drivers/mtd/nand/raw/Kconfig

index 170f1185ddc4684ea698ebdab80de9397a00e36f..b523354dfb00c0beeec82888806045e2b114b1d5 100644 (file)
@@ -373,7 +373,7 @@ config MTD_NAND_TEGRA
 
 config MTD_NAND_STM32_FMC2
        tristate "Support for NAND controller on STM32MP SoCs"
-       depends on MACH_STM32MP157 || COMPILE_TEST
+       depends on ARCH_STM32 || COMPILE_TEST
        select MFD_SYSCON
        help
          Enables support for NAND Flash chips on SoCs containing the FMC2