drivers/flash: stm32: Add qspi-nor flash-controller
Add support for DMA based STM32 QSPI NOR flash controller. Driver configures both NOR flash and also QSPI hardware block. Reuses existing jesd216 library. QSPI hardware block handling is done through the use of Cube HAL API. This requires the use of HAL interface also for DMA besides zephyr DMA driver. Zephyr DMA driver is used only for IRQ routing while HAL driver handles the IP block. To achieve this it is required to: -Configure both Cube and Zephyr drivers at init. -Inform Zephyr driver that current channel handling will be done by another instance and only a limited configuration should be done. For this last part, a unused parameter is overridden in order to transmit the information. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org> Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
This commit is contained in:
parent
d43200e9c4
commit
9bfb889088
4 changed files with 947 additions and 0 deletions
|
@ -72,6 +72,8 @@ source "drivers/flash/Kconfig.nor"
|
|||
|
||||
source "drivers/flash/Kconfig.stm32"
|
||||
|
||||
source "drivers/flash/Kconfig.stm32_qspi"
|
||||
|
||||
source "drivers/flash/Kconfig.sam0"
|
||||
|
||||
source "drivers/flash/Kconfig.sam"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue