Commit d354938
stm32cube: stm32mp13: 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 <arnaud.pouliquen@foss.st.com>1 parent 55e1597 commit d354938
File tree
2 files changed
+16
-7
lines changed- stm32cube/stm32mp13xx
- drivers/include
2 files changed
+16
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
59 | 68 | | |
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1301 | 1301 | | |
1302 | 1302 | | |
1303 | 1303 | | |
1304 | | - | |
1305 | | - | |
1306 | | - | |
1307 | | - | |
1308 | | - | |
1309 | | - | |
1310 | | - | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
1311 | 1311 | | |
1312 | 1312 | | |
1313 | 1313 | | |
| |||
0 commit comments