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

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



Allow STM32 I2C driver v2 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 a #ifdef directive on header files inclusion
that adds noise in the header file inclusion section without any
benefit.

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