1. 29 Oct, 2015 1 commit
  2. 20 Sep, 2013 1 commit
    • Wolfgang Denk's avatar
      SPDX: fix IBM-pibs license identifier · 1b387ef5
      Wolfgang Denk authored
      The SPDX License List version 1.19 now contains an official entry for
      the IBM-pibs license.  However, instead of our suggestion "ibm-pibs",
      the SPDX License List uses "IBM-pibs", with the following rationale:
      "The reason being that all other SPDX License List short identifiers
      tend towards using capital letters unless spelling a word.  I'd prefer
      to be consistent to this end".
      Change the license IDs to use the official name.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
  3. 19 Aug, 2013 1 commit
    • Wolfgang Denk's avatar
      SPDX-License-Identifier: convert PIBS licensed files · 46263f2d
      Wolfgang Denk authored
      This commit adapts the files that were derived from PIBS (PowerPC
      Initialization and Boot Software) codeto using SPDX License
      So far, SPDX has not assigned an official License ID for the PIBS
      license yet, so this should be considered preliminary.
      Note that the following files contained incorrect license information:
      These files included, in addition to the GPL-2.0 / ibm-pibs dual
      license as inherited from PIBS, a GPL-2.0+ license header which was
      obviously incorrect.  This has been removed.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarStefan Roese <sr@denx.de>
  4. 18 Mar, 2012 1 commit
    • Mike Frysinger's avatar
      net/miiphy/serial: drop duplicate "NAMESIZE" define · f6add132
      Mike Frysinger authored
      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: default avatarMike Frysinger <vapier@gentoo.org>
  5. 07 Dec, 2011 1 commit
  6. 06 Dec, 2011 1 commit
  7. 20 Apr, 2011 2 commits
    • 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:
      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:
      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:
      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>
    • Andy Fleming's avatar
      miiphy: Fix some formatting issues · 16a53238
      Andy Fleming authored
      Mostly putting a space between function name and "(", and
      doing return (foo)
      Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
      Acked-by: default avatarDetlev Zundel <dzu@denx.de>
  8. 09 Jan, 2011 1 commit
  9. 09 Aug, 2010 1 commit
  10. 11 Oct, 2009 1 commit
    • Luigi 'Comio' Mantellini's avatar
      Rewrite the miiphybb (Bit-banged MII bus driver) in order to support an... · 4ba31ab3
      Luigi 'Comio' Mantellini authored
      Rewrite the miiphybb (Bit-banged MII bus driver) in order to support an arbitrary number of mii buses.
      This feature is useful when your board uses different mii buses for different
      phys and all (or a part) of these buses are implemented via bit-banging mode.
      The driver requires that the following macros should be defined into the board
      configuration file:
      CONFIG_BITBANGMII       - Enable the miiphybb driver
      CONFIG_BITBANGMII_MULTI - Enable the multi bus support
      If the CONFIG_BITBANGMII_MULTI is not defined, the board's config file needs
      to define at least the following macros:
      MII_INIT      - Generic code to enable the MII bus (optional)
      MDIO_DECLARE  - Declaration needed to access to the MDIO pin (optional)
      MDIO_ACTIVE   - Activate the MDIO pin as out pin
      MDIO_TRISTATE - Activate the MDIO pin as input/tristate pin
      MDIO_READ     - Read the MDIO pin
      MDIO(v)       - Write v on the MDIO pin
      MDC_DECLARE   - Declaration needed to access to the MDC pin (optional)
      MDC(v)        - Write v on the MDC pin
      The previous macros make the driver compatible with the previous version
      (that didn't support the multi-bus).
      When the CONFIG_BITBANGMII_MULTI is also defined, the board code needs to fill
      the bb_miiphy_buses[] array with a record for each required bus and declare
      the bb_miiphy_buses_num variable with the number of mii buses.
      The record (struct bb_miiphy_bus) has the following fields/callbacks (see
      miiphy.h for details):
      char name[]            - The symbolic name that must be equal to the MII bus
                               registered name
      int (*init)()          - Initialization function called at startup time (just
                               before the Ethernet initialization)
      int (*mdio_active)()   - Activate the MDIO pin as output
      int (*mdio_tristate)() - Activate the MDIO pin as input/tristate pin
      int (*set_mdio)()      - Write the MDIO pin
      int (*get_mdio)()      - Read the MDIO pin
      int (*set_mdc)()       - Write the MDC pin
      int (*delay)()         - Delay function
      void *priv             - Private data used by board specific code
      The board code will look like:
      struct bb_miiphy_bus bb_miiphy_buses[] = {
       { .name = miibus#1, .init = b1_init, .mdio_active = b1_mdio_active, ... },
       { .name = miibus#2, .init = b2_init, .mdio_active = b2_mdio_active, ... },
      int bb_miiphy_buses_num = sizeof(bb_miiphy_buses) /
      Signed-off-by: default avatarLuigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
  11. 09 Aug, 2009 1 commit
    • Josh Boyer's avatar
      Dual-license IBM code contributions · 31773496
      Josh Boyer authored
      It was brought to our attention that U-Boot contains code derived from the
      IBM OpenBIOS source code originally provided with some of the older PowerPC
      4xx development boards.  As a result, the original license of this code has
      been carried in the various files for a number of years in the U-Boot project.
      IBM is dual-licensing the IBM code contributions already present in U-Boot
      under either the terms of the GNU General Public License version 2, or the
      original code license already present.
      Signed-off-by: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
  12. 18 Oct, 2008 1 commit
  13. 06 Nov, 2007 2 commits
  14. 30 Nov, 2005 1 commit
  15. 28 Oct, 2005 1 commit
  16. 25 Apr, 2004 1 commit
    • wdenk's avatar
      * Patch by John Kerl, 19 Apr 2004: · b9711de1
      wdenk authored
        Use U-boot's miiphy.h for PHY register names, rather than
        introducing a new header file.
      * Update pci_ids.h from linux-2.4.26
      * Patch by Masami Komiya, 19 Apr 2004:
        Fix problem cause by VLAN function on little endian architecture
        without VLAN environment
  17. 14 Mar, 2004 1 commit
    • wdenk's avatar
      * Patches by Travis Sawyer, 12 Mar 2004: · 855a496f
      wdenk authored
        - Fix Gigabit Ethernet support for 440GX
        - Add Gigabit Ethernet Support to MII PHY utilities
      * Patch by Brad Kemp, 12 Mar 2004:
        Fixes for drivers/cfi_flash.c:
        - Better support for x8/x16 implementations
        - Added failure for AMD chips attempting to use CFG_FLASH_USE_BUFFER_WRITE
        - Added defines for AMD command and address constants
      * Patch by Leon Kukovec, 12 Mar 2004:
        Fix get_dentfromdir() to correctly handle deleted dentries
      * Patch by George G. Davis, 11 Mar 2004:
        Remove hard coded network settings in TI OMAP1610 H2
        default board config
      * Patch by George G. Davis, 11 Mar 2004:
        add support for ADS GraphicsClient+ board.
  18. 08 Oct, 2003 1 commit
    • wdenk's avatar
      * Patch by Sangmoon Kim, 23 Sep 2003: · fc3e2165
      wdenk authored
        fix pll_pci_to_mem_multiplier table for MPC8245
      * Patch by Anders Larsen, 22 Sep 2003:
        enable timed autoboot on PXA
      * Patch by David Mller, 22 Sep 2003:
        - add $(CFLAGS) to "-print-libgcc-filename" so compiler driver
          returns correct libgcc file path
        - "latency" reduction of busy-loop waiting to improve "U-Boot" boot
          time on s3c24x0 systems
      * Patch by Jon Diekema, 19 Sep 2003:
        - Add CFG_FAULT_ECHO_LINK_DOWN option to echo the inverted Ethernet
          link state to the fault LED.
        - In NetLoop, make the Fault LED reflect the link status.  The link
          status gets updated on entry, and on timeouts.
  19. 18 Sep, 2003 1 commit
  20. 27 Jun, 2003 1 commit
    • wdenk's avatar
      * Code cleanup: · 8bde7f77
      wdenk authored
        - remove trailing white space, trailing empty lines, C++ comments, etc.
        - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
      * Patches by Kenneth Johansson, 25 Jun 2003:
        - major rework of command structure
          (work done mostly by Michal Cendrowski and Joakim Kristiansen)
  21. 08 Oct, 2001 1 commit