[PATCH v6 2/7] net: macb: Add DMA 64-bit address support for macb

Bin Meng bmeng.cn at gmail.com
Tue Dec 15 09:00:10 CET 2020


On Mon, Dec 14, 2020 at 7:08 PM Padmarao Begari
<padmarao.begari at microchip.com> wrote:
>
> Enable 32-bit or 64-bit DMA in the macb driver based on the macb
> hardware compatibility and it is configured with structure macb_config
> in the driver.
>
> The Microchip PolarFire SoC Memory Protection Unit(MPU) gives the 64-bit
> DMA access with the GEM, the MPU transactions on the AXI bus is 64-bit
> not 32-bit So 64-bit DMA is enabled for the Microchip PolarFire SoC GEM.
>
> Signed-off-by: Padmarao Begari <padmarao.begari at microchip.com>
> Reviewed-by: Anup Patel <anup.patel at wdc.com>
> ---
>  drivers/net/macb.c | 131 +++++++++++++++++++++++++++++++++++++++------
>  drivers/net/macb.h |   6 +++
>  2 files changed, 120 insertions(+), 17 deletions(-)
>

Tested-by: Bin Meng <bin.meng at windriver.com>


More information about the U-Boot mailing list