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

Michal Simek michal.simek at xilinx.com
Thu Dec 17 13:09:13 CET 2015


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(-)

-- 
1.9.1



More information about the U-Boot mailing list