Commit c4f78b6
stm32cube: stm32mp2xx: eth: Fix ETH_DMA_XXX definitions
On the Ethernet peripheral, there are two DMA channels.
As a consequence, the ETH_DMACSR_XXX definitions do not exist and
should be replaced by ETH_DMAC0SR_CDE and ETH_DMAC1SR_CDE.
While waiting for the fix in the STM32Cube distribution, the workaround
is to replace ETH_DMACSR_XXX with ETH_DMAC0SR_XXX.
Indeed, the bit definitions for ETH_DMAC0SR_XXX and ETH_DMAC1SR_XXX
are identical.
Signed-off-by: Arnaud Pouliquen <[email protected]>1 parent d354938 commit c4f78b6
File tree
2 files changed
+16
-7
lines changed- stm32cube/stm32mp2xx
- drivers/include
2 files changed
+16
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
75 | 84 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1291 | 1291 | | |
1292 | 1292 | | |
1293 | 1293 | | |
1294 | | - | |
1295 | | - | |
1296 | | - | |
1297 | | - | |
1298 | | - | |
1299 | | - | |
1300 | | - | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
1301 | 1301 | | |
1302 | 1302 | | |
1303 | 1303 | | |
| |||
0 commit comments