memory: stm32-fmc2-ebi: depends on ARCH_STM32 instead of MACH_STM32MP157
authorChristophe Kerello <christophe.kerello@foss.st.com>
Fri, 24 Mar 2023 15:51:04 +0000 (16:51 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 27 Mar 2023 16:04:56 +0000 (18:04 +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>
Link: https://lore.kernel.org/r/20230324155105.826063-2-christophe.kerello@foss.st.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/memory/Kconfig

index fac290e48e0b86b84aa4d1a20e8e6eaec018b7fc..91774e6ee6240e3718c4a657c8ac35471caa56e4 100644 (file)
@@ -228,7 +228,7 @@ config RENESAS_RPCIF
 
 config STM32_FMC2_EBI
        tristate "Support for FMC2 External Bus Interface on STM32MP SoCs"
-       depends on MACH_STM32MP157 || COMPILE_TEST
+       depends on ARCH_STM32 || COMPILE_TEST
        select MFD_SYSCON
        help
          Select this option to enable the STM32 FMC2 External Bus Interface