Skip to content

Moving Emaclite to DM + MDIO support

Michal Simek u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest14 patches 0 repliesNew
  2. v112 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Fix subject to point to rx instead of tx
- Fix commit message - Joe
- rename nextrxbuffertouse to use_rx_pong_buffer_next - Joe
- fix type in immediatelly - Joe
- Redesign packet lenght size to two subsequent reads
- Remove additional blankline
- new patch in this series - Joe

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14net: emaclite: Remove ancient OF probe functiondrivers/net/xilinx_emaclite.c include/netdev.h+0 -310 replies
2/14net: emaclite: Add MDIO support to driverdrivers/net/xilinx_emaclite.c+238 -00 replies
3/14net: emaclite: Convert MDIO to use register offsetdrivers/net/xilinx_emaclite.c+56 -360 replies
4/14net: emaclite: Use indirect register access for tx_ping/pongdrivers/net/xilinx_emaclite.c+13 -130 replies
5/14net: emaclite: Use indirect register access for rx_ping/pongdrivers/net/xilinx_emaclite.c+2 -30 replies
6/14net: emaclite: Use indirect register access for TX resetdrivers/net/xilinx_emaclite.c+3 -30 replies
7/14net: emaclite: Fix logic around available TX buffersdrivers/net/xilinx_emaclite.c+8 -160 replies
8/14net: emaclite: Remove XEL_TSR_XMIT_ACTIVE_MASK flagdrivers/net/xilinx_emaclite.c+2 -130 replies
9/14net: emaclite: Use indirect reg access in senddrivers/net/xilinx_emaclite.c+18 -300 replies
10/14net: emaclite: Use indirect access in emaclite_recvdrivers/net/xilinx_emaclite.c+73 -520 replies
11/14net: emaclite: Move driver to DMboard/xilinx/microblaze-generic/microblaze-generic.c board/xilinx/zynq/board.c configs/microblaze-generic_defconfig +2 more+92 -1110 replies
12/14net: emaclite: Rename start and stop functionsdrivers/net/xilinx_emaclite.c+5 -50 replies
13/14net: emaclite: Let core to handle received packetdrivers/net/xilinx_emaclite.c+3 -30 replies
14/14net: emaclite: Move emaclite to Kconfigboard/xilinx/microblaze-generic/xparameters.h configs/microblaze-generic_defconfig drivers/net/Kconfig +1 more+10 -60 replies

Reviews trailers per patch

10 of 14 patches have a Reviewed-by or Acked-by.

PatchJoe Hershberger
1/14A-b
2/14A-b
3/14A-b
4/14A-b
5/14
6/14A-b
7/14A-b
8/14A-b
9/14A-b
10/14
11/14A-b
12/14
13/14
14/14A-b

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

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 00/14] Moving Emaclite to DM + MDIO support

Hi,

The first part of this series is about adding MDIO support to driver which was out of mainline and it was much easier to merge it before move to DM. Then driver didn't use indirect register access. In the middle of moving this driver I have fixed logic in some functions which doesn't affect performance of this driver.
All these changes were tested on HW design with emaclite with and without pong buffers.

This patch series depends on microblaze cleanup series. All these patches will be available in
git://git.denx.de/u-boot-microblaze.git
also with patches which I am going to send now.

Thanks,
Michal

Changes in v2:
- Fix subject to point to rx instead of tx
- Fix commit message - Joe
- rename nextrxbuffertouse to use_rx_pong_buffer_next - Joe
- fix type in immediatelly - Joe
- Redesign packet lenght size to two subsequent reads
- Remove additional blankline
- new patch in this series - Joe

Michal Simek (14):
net: emaclite: Remove ancient OF probe function
net: emaclite: Add MDIO support to driver
net: emaclite: Convert MDIO to use register offset
net: emaclite: Use indirect register access for tx_ping/pong
net: emaclite: Use indirect register access for rx_ping/pong
net: emaclite: Use indirect register access for TX reset
net: emaclite: Fix logic around available TX buffers
net: emaclite: Remove XEL_TSR_XMIT_ACTIVE_MASK flag
net: emaclite: Use indirect reg access in send
net: emaclite: Use indirect access in emaclite_recv
net: emaclite: Move driver to DM
net: emaclite: Rename start and stop functions
net: emaclite: Let core to handle received packet
net: emaclite: Move emaclite to Kconfig

 .../xilinx/microblaze-generic/microblaze-generic.c |  21 -
 board/xilinx/microblaze-generic/xparameters.h      |   3 -
 board/xilinx/zynq/board.c                          |  20 -
 configs/microblaze-generic_defconfig               |   3 +-
 drivers/net/Kconfig                                |   8 +
 drivers/net/xilinx_emaclite.c                      | 610 ++++++++++++++-------
 include/configs/microblaze-generic.h               |   3 +-
 include/netdev.h                                   |   3 -
 8 files changed, 436 insertions(+), 235 deletions(-)
Signature · 1 line
1.9.1