Skip to content

Ethernet support for QEMU sifive_u machine

Anup Patel u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3riscv: Add asm/dma-mapping.h for DMA mappingsarch/riscv/include/asm/dma-mapping.h+37 -01 reply
1/3riscv: Add asm/dma-mapping.h for DMA mappings+0 -00 replies
1/3riscv: Add asm/dma-mapping.h for DMA mappings+0 -00 replies
2/3net: macb: Fix clk API usage for RISC-V systemsdrivers/net/macb.c+3 -11 reply
2/3net: macb: Fix clk API usage for RISC-V systems+0 -00 replies
3/3riscv: qemu: Imply MACB ethernet for emulationboard/emulation/qemu-riscv/Kconfig+4 -01 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchBin Meng
1/3R-b
1/3R-b
1/3R-b
2/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/3] Ethernet support for QEMU sifive_u machine

This patchset enables Cadance MACB ethernet driver for QEMU sifive_u machine. The Cadance MACB ethernet driver works fine for QEMU sifive_u machince in both M-mode and S-mode with some minor fixes.

The patches are based upon latest RISC-V U-Boot tree
(git://git.denx.de/u-boot-riscv.git) at commit id 9deb8d2fcd13d4a40a4e63c396fe4376af46efac

To try on QEMU, please ensure following patches are applied to QEMU sources:
https://patchwork.kernel.org/patch/10729579/
https://patchwork.kernel.org/patch/10729581/

Anup Patel (3):
riscv: Add asm/dma-mapping.h for DMA mappings
net: macb: Fix clk API usage for RISC-V systems
riscv: qemu: Imply MACB ethernet for emulation

 arch/riscv/include/asm/dma-mapping.h | 37 ++++++++++++++++++++++++++++
 board/emulation/qemu-riscv/Kconfig   |  4 +++
 drivers/net/macb.c                   |  4 ++-
 3 files changed, 44 insertions(+), 1 deletion(-)
 create mode 100644 arch/riscv/include/asm/dma-mapping.h
Signature · 1 line
2.17.1