kconfig: stm32: Select CONFIG_USE_STM32_HAL_MDMA when QSPI is used
The stm32 HAL code for qspi (SHA1: 5c8275071ec1cf160bfe8c18bbd93): stm32cube/stm32h7xx/drivers/src/stm32h7xx_hal_qspi.c implicitly depends on the stm32h7xx_hal_mdma.c driver as it uses unconditionally 'HAL_MDMA_Abort_IT()' function. To avoid build breaks - no matter if QSPI IP block works with DMA or interrupts - the CONFIG_USE_STM32_HAL_MDMA shall be defined. Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
803a4ff620
commit
4a124b1ace
|
@ -12,6 +12,7 @@ config FLASH_STM32_QSPI
|
|||
depends on SOC_FAMILY_STM32
|
||||
default $(dt_compat_enabled,$(DT_COMPAT_ST_STM32_QSPI_NOR))
|
||||
select USE_STM32_HAL_QSPI
|
||||
select USE_STM32_HAL_MDMA if SOC_SERIES_STM32H7X
|
||||
select FLASH_HAS_DRIVER_ENABLED
|
||||
select FLASH_JESD216
|
||||
select FLASH_PAGE_LAYOUT
|
||||
|
|
Loading…
Reference in a new issue