Skip to content
Commit bd92d69b authored by Etienne Carriere's avatar Etienne Carriere Committed by Benjamin Cabé
Browse files

drivers: spi: stm32: support DMA when CONFIG_MEM_ATTR=n



Allow STM32 SPI driver to operate with DMA support even when
CONFIG_MEM_ATTR is disabled which happen when CONFIG_ARM_MPU is
intentionally disabled despite the CPU supports MPU.

By the way, remove some #ifdef directive on header files inclusion
that add noise in the header file inclusion section without any
benefit.

Signed-off-by: default avatarEtienne Carriere <etienne.carriere@st.com>
parent 4e37a1bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment