drivers: flash: stm32 ospi driver for the stm32h5x

With the stm32h5x, hal driver is xspi for octospi
Add a header file to map functions and constants.
The ospi driver of the stm32H5x serie does not support DMA yet.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2022-12-20 17:03:57 +01:00 committed by Fabio Baltieri
commit 10e296f3f1
4 changed files with 138 additions and 2 deletions

View file

@ -10,8 +10,9 @@ config FLASH_STM32_OSPI
bool "STM32 Octo SPI Flash driver"
default y
depends on DT_HAS_ST_STM32_OSPI_NOR_ENABLED
select USE_STM32_HAL_OSPI
select USE_STM32_LL_DLYB if SOC_SERIES_STM32U5X
select USE_STM32_HAL_OSPI if !SOC_SERIES_STM32H5X
select USE_STM32_HAL_XSPI if SOC_SERIES_STM32H5X
select USE_STM32_LL_DLYB if (SOC_SERIES_STM32H5X || SOC_SERIES_STM32U5X)
select USE_STM32_HAL_MDMA if SOC_SERIES_STM32H7X
select FLASH_HAS_DRIVER_ENABLED
select FLASH_JESD216