mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 23:14:31 +08:00
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:
parent
cb70cf99ab
commit
bb685c1f35
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user