-
Notifications
You must be signed in to change notification settings - Fork 149
stm32cube: stm32mp13/2: eth: Fix ETH_DMA_XXX definitions #320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
erwango
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update "Patch list" section in series README and don't forget to add internal bug reference.
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]>
Done |
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]>
gautierg-st
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
On the STM32MP13 and stm32mp2x Ethernet peripherals, 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.