25 Aug, 2020

1 commit


05 Sep, 2019

1 commit

  • Align the board and driver prototype for board_interface_eth_init
    to avoid execution issue (the interface_type parameter is defined
    as int or phy_interface_t).

    To have a generic weak function (it should be reused by other driver)
    I change the prototype to use directly udevice.

    This prototype is added in netdev.h to allow compilation check
    and avoid warning when compiling with W=1 on file
    board/st/stm32mp1/stm32mp1.c

    warning: no previous prototype for 'board_interface_eth_init'\
    [-Wmissing-prototypes]
    int board_interface_eth_init(int interface_type, ....
    ^~~~~~~~~~~~~~~~~~~~~~~~

    Signed-off-by: Patrice Chotard
    Signed-off-by: Patrick Delaunay
    Acked-by: Joe Hershberger

    Patrick Delaunay
     

26 Jul, 2019

1 commit


06 Nov, 2018

1 commit

  • The driver is based on the previous one and the code is only adapted
    to fit the driver model. The support for the Faraday ftgmac100
    controller is the same with MAC and MDIO bus support for RGMII/RMII
    modes.

    Configuration is updated to enable compile again. At this stage, the
    driver compiles but is not yet functional.

    Signed-off-by: Cédric Le Goater
    Reviewed-by: Joel Stanley
    Acked-by: Joe Hershberger

    Cédric Le Goater
     

08 Aug, 2018

1 commit

  • The only platform left for the AU1x00 SoCs was the pb1x00 platform, an
    apparent clone of the dbau1x00 platform. As pb1x00 had no listed
    maintainer I am assuming that it is also orphaned. Remove this platform
    and then remove the unused SoC support.

    Cc: Daniel Schwierzeck
    Signed-off-by: Tom Rini
    Reviewed-by: Daniel Schwierzeck

    Tom Rini
     

24 May, 2018

1 commit


07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

14 Apr, 2018

1 commit


23 Mar, 2018

1 commit


23 Feb, 2018

1 commit

  • ll_temac driver was used by Xilinx Microblaze big endian and
    Xilinx ppc405/ppc440 SoCs.

    ppc support was removed by: "powerpc: remove 4xx support"
    (sha1: 98f705c9cefdfdba62c069821bbba10273a0a8ed)
    and Microblaze BE is not tested for a long time that's why this driver
    can be removed because none is going to updated it to DM anyway.

    Signed-off-by: Michal Simek
    Acked-by: Joe Hershberger

    Michal Simek
     

28 Jul, 2017

1 commit

  • commit 306dd7dabd64 ("net: fec_mxc: fix PHY initialization bug with CONFIG_DM_ETH")
    has broken the build of the fec_mxc driver with CONFIG_DM_ETH
    enabled because it changed the parameters passed to *fec_get_miibus()
    without changing the functions prototype.

    This patch fixes up the prototype of fec_get_miibus() for the DM_ETH case.

    Signed-off-by: Lothar Waßmann

    Lothar Waßmann
     

16 Jun, 2017

2 commits


06 Apr, 2017

1 commit


25 May, 2016

1 commit


27 Jan, 2016

3 commits


07 Dec, 2015

2 commits

  • - Enable DM_ETH by default for Zynq and ZynqMP
    - Remove board_eth_init code
    - Change miiphy_read function to return value instead of error code
    based on DM requirement
    - Do not enable EMIO DT support by default

    Signed-off-by: Michal Simek
    Reviewed-by: Jagan Teki
    Reviewed-by: Simon Glass
    Reviewed-by: Bin Meng

    Michal Simek
     
  • This function was used for OF init before DM.
    Remove this function as the part of move to DM.

    Signed-off-by: Michal Simek
    Reviewed-by: Simon Glass
    Reviewed-by: Jagan Teki

    Michal Simek
     

12 Nov, 2015

1 commit


09 Sep, 2015

1 commit

  • This commit converts pch_gbe ethernet driver to driver model.

    Since this driver is only used by Intel Crown Bay board, the
    conversion does not keep the non-dm version.

    Signed-off-by: Bin Meng
    Acked-by: Joe Hershberger
    Acked-by: Simon Glass

    Bin Meng
     

04 May, 2015

2 commits


10 Apr, 2015

1 commit


25 Mar, 2015

1 commit

  • Add a new driver for the Gigabit Ethernet MAC found on Intel Topcliff
    Platform Controller Hub. Tested under 10/100 half/full duplex and 1000
    full duplex modes using ping and tftpboot commands.

    Signed-off-by: Bin Meng
    Acked-by: Joe Hershberger

    Bin Meng
     

25 Feb, 2015

1 commit


21 Jan, 2015

1 commit


23 Oct, 2014

1 commit


30 Aug, 2014

1 commit

  • The Broadcom StarFighter2 Ethernet driver is used in multiple Broadcom
    SoC(s) and:
    - supports multiple MAC blocks,
    - provides support for the Broadcom GMAC.
    This driver requires MII and PHYLIB.

    Signed-off-by: Jiandong Zheng
    Signed-off-by: Steve Rae

    Jiandong Zheng
     

22 Aug, 2014

1 commit


07 Jul, 2014

1 commit

  • There have been 3 versions of the sunxi_emac support patch during its
    development. Somehow version 2 ended up in upstream u-boot where as
    the u-boot-sunxi git repo got version 3.

    This bumps the version in upstream u-boot to version 3 of the patch:
    - Initialize MII clock earlier so mii access to allow independent use
    - Name change from WEMAC to EMAC to match mainline kernel & chip manual
    - Cosmetic code cleanup

    Signed-off-by: Stefan Roese
    Signed-off-by: Henrik Nordstrom
    Signed-off-by: Oliver Schinagl
    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Stefan Roese
     

25 May, 2014

1 commit

  • Add support for the GMAC Ethernet controller on Allwinner A20 (sun7i)
    processors. Enable for the Cubietruck.

    Signed-off-by: Chen-Yu Tsai
    Signed-off-by: Jens Kuske
    Signed-off-by: Ian Campbell
    Reviewed-by: Marek Vasut
    Reviewed-by: Tom Rini

    Ian Campbell
     

20 Apr, 2014

1 commit


04 Mar, 2014

2 commits


07 Feb, 2014

1 commit

  • With this change driver will benefit from existing phylib and thus
    custom phy functionality implemented in the driver will go away:
    * Instantiation of the driver is now much shorter - 2 parameters
    instead of 4.
    * Simplified phy management/functoinality in driver is replaced with
    rich functionality of phylib.
    * Support of custom phy initialization is now done with existing
    "board_phy_config".

    Note that after this change some previously used config options
    (driver-specific PHY configuration) will be obsolete and they are simply
    substituted with similar options of phylib.

    For example:
    * CONFIG_DW_AUTONEG - no need in this one. Autonegotiation is enabled
    by default.
    * CONFIG_DW_SEARCH_PHY - if one wants to specify attached phy
    explicitly CONFIG_PHY_ADDR board config option has to be used, otherwise
    automatically the first discovered on MDIO bus phy will be used

    I believe there's no need now in "doc/README.designware_eth" because
    user only needs to instantiate the driver with "designware_initialize"
    whose prototype exists in "include/netdev.h".

    Cc: Joe Hershberger
    Cc: Vipin Kumar
    Cc: Stefan Roese
    Cc: Mischa Jonker
    Cc: Shiraz Hashim
    Cc: Albert ARIBAUD
    Cc: Amit Virdi
    Cc: Sonic Zhang
    Signed-off-by: Alexey Brodkin

    Alexey Brodkin
     

24 Jul, 2013

1 commit


25 Jun, 2013

2 commits

  • Faraday FTMAC110 10/100Mbps supports half-word data transfer for Linux.
    However it has a weird DMA alignment issue:

    (1) Tx DMA Buffer Address:
    1 bytes aligned: Invalid
    2 bytes aligned: O.K
    4 bytes aligned: O.K

    (2) Rx DMA Buffer Address:
    1 bytes aligned: Invalid
    2 bytes aligned: O.K
    4 bytes aligned: Invalid!!!

    Signed-off-by: Kuo-Jung Su
    Cc: Joe Hershberger
    Cc: Tom Rini

    Kuo-Jung Su
     
  • The device interface is 16 bits wide.
    All the available packets are read from the incoming fifo.

    Signed-off-by: Roberto Cerati
    Signed-off-by: Raffaele Recalcati
    [voice.shen@atmel.com: address comments from review results]
    [voice.shen@atmel.com: clean up for submit]
    Signed-off-by: Bo Shen
    Tested-by: Raffaele Recalcati

    Roberto Cerati