Commit bd92d69
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: Etienne Carriere <[email protected]>1 parent 4e37a1b commit bd92d69
1 file changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | 33 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 34 | | |
40 | | - | |
41 | 35 | | |
42 | | - | |
43 | 36 | | |
44 | 37 | | |
45 | 38 | | |
| |||
1082 | 1075 | | |
1083 | 1076 | | |
1084 | 1077 | | |
1085 | | - | |
| 1078 | + | |
1086 | 1079 | | |
1087 | 1080 | | |
1088 | 1081 | | |
| |||
1095 | 1088 | | |
1096 | 1089 | | |
1097 | 1090 | | |
| 1091 | + | |
1098 | 1092 | | |
1099 | 1093 | | |
1100 | 1094 | | |
| 1095 | + | |
1101 | 1096 | | |
1102 | 1097 | | |
1103 | 1098 | | |
| |||
0 commit comments