24 Nov, 2016

3 commits


24 Sep, 2016

2 commits


16 Aug, 2016

2 commits


25 Feb, 2016

3 commits


04 Aug, 2015

2 commits


22 Apr, 2015

1 commit


19 Apr, 2015

1 commit

  • Update the naming convention used in the network stack functions and
    variables that Ethernet drivers use to interact with it.

    This cleans up the temporary hacks that were added to this interface
    along with the DM support.

    This patch has a few remaining checkpatch.pl failures that would be out
    of the scope of this patch to fix (drivers that are in gross violation
    of checkpatch.pl).

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

    Joe Hershberger
     

16 Dec, 2014

1 commit


20 Nov, 2014

2 commits


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
     

21 Aug, 2014

1 commit


23 Jul, 2014

1 commit


13 May, 2014

1 commit


23 Apr, 2014

2 commits


18 Nov, 2013

1 commit


01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


04 Feb, 2013

1 commit


02 Feb, 2013

1 commit


24 Oct, 2012

1 commit

  • This processor, though very similar to other members of the
    PowerQUICC II Pro family (namely 8308, 8360 and 832x), provides
    yet another feature set than any supported sibling.

    Signed-off-by: Gerlando Falauto
    Signed-off-by: Kim Phillips

    Gerlando Falauto
     

23 Aug, 2012

1 commit


23 May, 2012

1 commit


19 Mar, 2012

1 commit

  • A few subsystems are using the same define "NAMESIZE". This has been
    working so far because they define it to the same number. However, I
    want to change the size of eth_device's NAMESIZE, so rather than tweak
    the define names, simply drop references to it. Almost no one does,
    and the handful that do can easily be changed to a sizeof().

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

29 Nov, 2011

1 commit

  • Several macros are used to identify and locate the microcode binary image
    that U-boot needs to upload to the QE or Fman. Both the QE and the Fman
    use the QE Firmware binary format to package their respective microcode data,
    which is why the same macros are used for both. A given SOC will only have
    a QE or an Fman, so this is safe.

    Unfortunately, the current macro definition and usage has inconsistencies.
    For example, CONFIG_SYS_FMAN_FW_ADDR was used to define the address of Fman
    firmware in NOR flash, but CONFIG_SYS_QE_FW_IN_NAND contains the address
    of NAND. There's no way to know by looking at a variable how it's supposed
    to be used.

    In the future, the code which uploads QE firmware and Fman firmware will
    be merged.

    Signed-off-by: Timur Tabi
    Signed-off-by: Kumar Gala

    Timur Tabi
     

11 Nov, 2011

1 commit

  • uec.c: In function 'uec_stop':
    uec.c:267:22: warning: variable 'uccf' set but not used [-Wunused-but-set-variable]
    uec.c: In function 'uec_set_mac_if_mode':
    uec.c:328:15: warning: variable 'uec_info' set but not used [-Wunused-but-set-variable]
    uec.c: In function 'adjust_link':
    uec.c:519:11: warning: variable 'uec_regs' set but not used [-Wunused-but-set-variable]

    Signed-off-by: Kumar Gala

    Kumar Gala
     

21 Apr, 2011

2 commits

  • The fsl_phy_enet_if enum was, essentially, the phy_interface_t enum.
    This meant that drivers which used fsl_phy_enet_if to deal with
    PHY interfaces would have to convert between the two (or we would have
    to have them mirror each other, and deal with the ensuing maintenance
    headache). Instead, we switch all clients of fsl_phy_enet_if over to
    phy_interface_t, which should become the standard, anyway.

    Signed-off-by: Andy Fleming
    Acked-by: Detlev Zundel

    Andy Fleming
     
  • There were a few files which were already using phy_read and phy_write
    for their PHY function names. It's only a few places, and the name
    seems most appropriate for the high-level abstraction, so let's
    rename the other versions to something more specific.

    Also, uec_phy.c had a marvell_init function which I renamed to not
    conflict with the one in marvell.c

    Lastly, uec_phy.c was putting a space between the phy writing
    function names, and the open paren, so I fixed that

    Signed-off-by: Andy Fleming
    Acked-by: Detlev Zundel

    Andy Fleming
     

05 Apr, 2011

1 commit

  • P1021 has some QE pins which need to be set in pmuxcr register before
    using QE functions. In this patch, pin QE0 and QE3 are set for UCC1 and
    UCC5 in Eth mode. QE9 and QE12 are set for MII management. QE12 needs to
    be released after MII access because QE12 pin is muxed with LBCTL signal.

    Also added relevant QE support defines unique to P1021.

    The P1021 QE is shared on P1012, P1016, and P1025.

    Signed-off-by: Haiying Wang
    Signed-off-by: Kumar Gala

    Haiying Wang
     

26 Jan, 2011

1 commit

  • Patch 8ef583a0 [miiphy: convert to linux/mii.h] introduced the following
    compiler warnings in the uec ethernet driver:

    In file included from /local/home/galak/git/u-boot-85xx/include/miiphy.h:37:0,
    from uec.c:32:
    /local/home/galak/git/u-boot-85xx/include/linux/mii.h:133:0: warning: "LPA_1000FULL" redefined
    uec_phy.h:34:0: note: this is the location of the previous definition
    /local/home/galak/git/u-boot-85xx/include/linux/mii.h:134:0: warning: "LPA_1000HALF" redefined
    uec_phy.h:35:0: note: this is the location of the previous definition
    In file included from /local/home/galak/git/u-boot-85xx/include/miiphy.h:37:0,
    from uec_phy.c:27:
    /local/home/galak/git/u-boot-85xx/include/linux/mii.h:133:0: warning: "LPA_1000FULL" redefined
    uec_phy.h:34:0: note: this is the location of the previous definition
    /local/home/galak/git/u-boot-85xx/include/linux/mii.h:134:0: warning: "LPA_1000HALF" redefined
    uec_phy.h:35:0: note: this is the location of the previous definition

    Fix them be removing the duplication in the uec code and utlizing the
    linux/mii.h version instead.

    Signed-off-by: Kumar Gala

    Kumar Gala
     

10 Jan, 2011

1 commit

  • The include/miiphy.h header duplicates a lot of things from linux/mii.h.
    So punt all the things that overlap to keep the API simple and to make
    merging between U-Boot and Linux simpler.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

18 Nov, 2010

1 commit

  • Previously with archive libraries fdt.o was compiled and included in
    qe.a and then discarded by the linker. With partial linking this
    results in unresolved symbols, which this commit fixes.

    This commit also cleans up a now-useless conditional in fdt.c.

    Signed-off-by: Sebastien Carlier
    Tested-by: Wolfgang Denk

    Sebastien Carlier