1. 05 Dec, 2014 1 commit
  2. 21 Aug, 2014 1 commit
  3. 31 Oct, 2013 1 commit
  4. 24 Jul, 2013 1 commit
  5. 25 Jun, 2013 1 commit
  6. 10 May, 2013 1 commit
    • Matt Porter's avatar
      phy: add support for ET1011C phys · f485c8a3
      Matt Porter authored
      Adds an ET1011C PHY driver which is derived from the
      Linux kernel PHY driver (drivers/net/phy/et1011c.c)
      from the v3.9-rc2 tag. Note that an errata workaround
      config option is implemented to allow for TX_CLK to be
      enabled even when gigabit mode is negotiated. This
      workaround is used on the PG1.0 TI814X EVM.
      Signed-off-by: default avatarMatt Porter <mporter@ti.com>
      Reviewed-by: default avatarTom Rini <trini@ti.com>
      f485c8a3
  7. 27 Sep, 2012 1 commit
    • Valentin Longchamp's avatar
      net/phy: support the mv88e6352 switch · b737337a
      Valentin Longchamp authored
      This patch add support for the configuration of an external switch from
      the 88E6xxx series from Marvell trough an MDIO link using indirect
      adressing. This can be used if we do not want to use an EEPROM for the
      configuration.
      
      This driver is not generic and was not tested on other switches than the
      88e6352. This is proposed as a first implementation that is somewhat
      limited but works and that can be used as a basis for further
      developments for this switch family.
      Signed-off-by: default avatarValentin Longchamp <valentin.longchamp@keymile.com>
      cc: Holger Brunck <holger.brunck@keymile.com>
      cc: Prafulla Wadaskar <prafulla@marvell.com>
      cc: Joe Hershberger <joe.hershberger@gmail.com>
      b737337a
  8. 05 Dec, 2011 1 commit
  9. 20 Apr, 2011 2 commits
    • Andy Fleming's avatar
      phylib: Add a bunch of PHY drivers from tsec · 9082eeac
      Andy Fleming authored
      The tsec driver had a bunch of PHY drivers already written. This
      converts them all into PHY Lib drivers, and serves as the first
      set of PHY drivers for PHY Lib.
      
      While doing that, cleaned up a number of magic numbers (though
      not all of them, as PHY vendors like to keep their numbers as
      magical as possible).  Also, noticed that almost all of the
      vitesse/cicada PHYs had the same config/parse/startup functions,
      so those have been collapsed into one.
      Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      Acked-by: default avatarDetlev Zundel <dzu@denx.de>
      9082eeac
    • Andy Fleming's avatar
      Create PHY Lib for U-Boot · 5f184715
      Andy Fleming authored
      Extends the mii_dev structure to participate in a full-blown MDIO and
      PHY driver scheme.  The mii_dev structure and miiphy calls are modified
      in such a way to allow the original mii command and miiphy
      infrastructure to work as before, but also to support a new set of APIs
      which allow (among other things) sharing of PHY driver code and 10G support
      
      The mii command will continue to support normal PHY management functions
      (Clause 22 of 802.3), but will not be changed to support 10G
      (Clause 45).
      
      The basic design is similar to PHY Lib from Linux, but simplified for
      U-Boot's network and driver infrastructure.
      
      We now have MDIO drivers and PHY drivers
      
      An MDIO driver provides:
      read
      write
      reset
      
      A PHY driver provides:
      (optionally): probe
      config - initial setup, starting of auto-negotiation
      startup - waiting for AN, and reading link state
      shutdown - any cleanup needed
      
      The ethernet drivers interact with the PHY Lib using these functions:
      phy_connect()
      phy_config()
      phy_startup()
      phy_shutdown()
      
      Each PHY driver can be configured separately, or all at once using
      config_phylib_all_drivers.h (added in the patch which adds the drivers)
      
      We also provide generic drivers for Clause 22 (10/100/1000), and
      Clause 45 (10G) PHYs.
      
      We also implement phy_reset(), and call it in phy_connect(). Because
      phy_reset() is essentially the same as miiphy_reset, but:
      a) must support 10G PHYs, and
      b) should use the phylib primitives,
      
      we implement miiphy_reset, using phy_reset(), but only when
      CONFIG_PHYLIB is set. Otherwise, we just use the old version. In this
      way, we save on compile size, even if we don't manage to save code size.
      
      Pulled ethtool.h and mdio.h from:
      git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
      782d640afd15af7a1faf01cfe566ca4ac511319d
      With many, many deletions so as to enable compilation under u-boot
      Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      Acked-by: default avatarDetlev Zundel <dzu@denx.de>
      5f184715
  10. 17 Nov, 2010 1 commit
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      Signed-off-by: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  11. 15 Jun, 2009 1 commit
    • Prafulla Wadaskar's avatar
      Marvell MV88E61XX Switch Driver support · 6f51deb7
      Prafulla Wadaskar authored
      Chips supported:-
      1. 88E6161 6 port gbe swtich with 5 integrated PHYs
      2. 88E6165 6 port gbe swtich with 5 integrated PHYs
      2. 88E6132 3 port gbe swtich with 2 integrated PHYs
      Platform specific configuration supported for:-
      default or router port vlan configuration
      led_init configuration
      mdip/n polarity reversal configuration
      
      Note: This driver is supported and tested against
      kirkwood egiga interface
      
      Contributors:
      Yotam Admon <yotam@marvell.com>
      Michael Blostein <michaelbl@marvell.com
      
      Reviewed by: Ronen Shitrit <rshitrit@marvell.com>
      Signed-off-by: default avatarPrafulla Wadaskar <prafulla@marvell.com>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      6f51deb7
  12. 29 Aug, 2008 2 commits
  13. 12 Aug, 2008 1 commit
  14. 20 May, 2008 1 commit
    • Wolfgang Denk's avatar
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk authored
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      53677ef1
  15. 17 Jan, 2008 1 commit
  16. 25 Nov, 2007 1 commit
  17. 08 Oct, 2006 1 commit
  18. 01 Sep, 2006 1 commit
    • Marian Balakowicz's avatar
      Add support for a saving build objects in a separate directory. · f9328639
      Marian Balakowicz authored
      Modifications are based on the linux kernel approach and
      support two use cases:
      
        1) Add O= to the make command line
        'make O=/tmp/build all'
      
        2) Set environement variable BUILD_DIR to point to the desired location
        'export BUILD_DIR=/tmp/build'
        'make'
      
      The second approach can also be used with a MAKEALL script
      'export BUILD_DIR=/tmp/build'
      './MAKEALL'
      
      Command line 'O=' setting overrides BUILD_DIR environent variable.
      
      When none of the above methods is used the local build is performed and
      the object files are placed in the source directory.
      f9328639
  19. 05 Mar, 2006 1 commit
  20. 14 Sep, 2005 1 commit
  21. 17 Aug, 2005 1 commit