29 Sep, 2020

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
     

29 Jan, 2016

1 commit


09 Sep, 2014

1 commit

  • fsl_enet.h defines the mapping of the usual MII management
    registers, which are included in the MDIO register block
    common to Freescale ethernet controllers. So it shouldn't
    depend on the CPU architecture but it should be actually
    part of the arch independent fsl_mdio.h.

    To remove the arch dependency, merge the content of
    asm/fsl_enet.h into fsl_mdio.h.
    Some files (like fm_eth.h) were simply including fsl_enet.h
    only for phy.h. These were updated to include phy.h instead.

    Signed-off-by: Claudiu Manoil

    Claudiu Manoil
     

23 Nov, 2013

1 commit

  • Add the __iomem address space marker for the tsec pointers
    to struct tsec_mii_mng memory mapped register regions.
    This solves the sparse warnings for mixig normal pointers with
    __iomem pointers for tsec. E.g.:

    fsl_mdio.c:34:19: warning: incorrect type in argument 1 (different
    address spaces)
    fsl_mdio.c:34:19: expected unsigned int volatile [noderef]
    *addr
    fsl_mdio.c:34:19: got unsigned int *
    [...]

    tsec.c:91:35: warning: incorrect type in argument 1 (different address
    spaces)
    tsec.c:91:35: expected struct tsec_mii_mng *phyregs
    tsec.c:91:35: got struct tsec_mii_mng [noderef] *phyregs_sgmii
    [...]

    tsec.c:680:19: warning: incorrect type in assignment (different address
    spaces)
    tsec.c:680:19: expected struct tsec_mii_mng *regs
    tsec.c:680:19: got struct tsec_mii_mng [noderef] *
    [...]

    Signed-off-by: Claudiu Manoil

    Claudiu Manoil
     

24 Jul, 2013

1 commit


23 Oct, 2012

1 commit

  • The multirate ethernet media access controller (mEMAC) interfaces to
    10Gbps and below Ethernet/IEEE 802.3 networks via either RGMII/RMII
    interfaces or XAUI/XFI/SGMII/QSGMII using the high-speed SerDes interface.

    Signed-off-by: Sandeep Singh
    Signed-off-by: Poonam Aggrwal
    Signed-off-by: Roy Zang
    Signed-off-by: Andy Fleming

    Roy Zang
     

20 May, 2011

1 commit


21 Apr, 2011

1 commit

  • This converts tsec to use the new PHY Lib. All of the old PHY support
    is ripped out. The old MDIO driver is split off, and placed in
    fsl_mdio.c. The initialization is modified to initialize the MDIO
    driver as well. The powerpc config file is modified to configure PHYLIB
    if TSEC_ENET is configured.

    Signed-off-by: Mingkai Hu
    Signed-off-by: Andy Fleming
    Signed-off-by: Kumar Gala
    Acked-by: Detlev Zundel

    Andy Fleming