Skip to content

Conversation

@av-dyachenko
Copy link
Collaborator

@av-dyachenko av-dyachenko commented Jun 6, 2023

Design

This hack is not required as soon as the appropriate DMA memory pool is defined in the device tree:

        reserved-memory {
                ...
                /* The DMA memory pool is needed by Ethernet driver
                   to allocate buffer descriptors using the standard DMA API */
                dmapool@d0300000 {
                        compatible = "shared-dma-pool";
                        reg = <0xd0300000 0x100000>;
                        no-map;
                        linux,dma-default;
                };

Test

Refer to the U-Boot PR: https://gitlab.com/emcraft/STM32H7/u-boot-upstream/-/merge_requests/6

@vladimirkhusainov-emcraft vladimirkhusainov-emcraft merged commit 75b7979 into v5.15-stm32mp Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants