diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 4ff17617d99..cfbedd64c4c 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -565,7 +565,7 @@ config SPI_SUNXI config STM32_OSPI bool "STM32MP2 OSPI driver" - depends on STM32MP25X && STM32_OMM + depends on (STM32MP23X || STM32MP25X) && STM32_OMM help Enable the STM32MP2 Octo-SPI (OSPI) driver. This driver can be used to access the SPI NOR flash chips on platforms embedding