Skip to content

Commit bb685c1

Browse files
Christophe Kerellomiquelraynal
authored andcommitted
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
1 parent cb70cf9 commit bb685c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mtd/nand/raw/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ config MTD_NAND_TEGRA
373373

374374
config MTD_NAND_STM32_FMC2
375375
tristate "Support for NAND controller on STM32MP SoCs"
376-
depends on MACH_STM32MP157 || COMPILE_TEST
376+
depends on ARCH_STM32 || COMPILE_TEST
377377
select MFD_SYSCON
378378
help
379379
Enables support for NAND Flash chips on SoCs containing the FMC2

0 commit comments

Comments
 (0)