Skip to content
Snippets Groups Projects
  1. Jun 13, 2018
  2. May 07, 2018
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      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: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  3. Mar 22, 2018
  4. Aug 16, 2017
  5. Jun 02, 2017
  6. Feb 07, 2017
  7. Nov 07, 2016
  8. Oct 13, 2016
  9. Feb 06, 2016
  10. Jan 28, 2016
  11. Jan 08, 2016
    • Andre Przywara's avatar
      net: remove scary warning about EEPROM provided MAC address · 821fec0c
      Andre Przywara authored
      
      In many parts of the computing world having a unique MAC address
      sitting in some on-NIC storage is considered the normal case.
      Remove the warning to not scare the user unnecessarily.
      This applies to Highbank/Midway and ARM's Juno, for instance.
      Besides that this fixes the formatting on Midway, for instance,
      which currently looks like:
      ...
      Net:   xgmac0
      Warning: xgmac0 using MAC address from net device
      , xgmac1
      Warning: xgmac1 using MAC address from net device
      ...
      
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      821fec0c
  12. Jan 07, 2016
  13. Dec 18, 2015
  14. Oct 29, 2015
  15. Oct 28, 2015
  16. Sep 30, 2015
  17. Sep 09, 2015
  18. Jul 21, 2015
    • Simon Glass's avatar
      net: Allow drivers to return -ENOSYS with the write_hwaddr() method · b86f795a
      Simon Glass authored
      
      Some drivers may want to implement this method for some of their devices but
      not for others. So it is not possible to just leave the operation out of
      the table. Drivers could get around this by masquerading as two separate
      drivers but that seems unpleasant.
      
      Allow the driver to return an error when it does not want to process the
      write_hwaddr() method.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      b86f795a
    • Simon Glass's avatar
      dm: eth: Avoid blocking on packet reception · a1ca92ea
      Simon Glass authored
      
      Some devices can take a long time to work out whether they have a new packet
      or now. For example the ASIX USB Ethernet dongle can take 5 seconds to do
      this, since it waits until it gets a new packet on the wire before allowing
      the USB bulk read packet to be submitted.
      
      At present with driver mode the Ethernet receive code reads 32 packets. This
      can take a very long time if we must wait for all 32 packets. The old code
      (before driver model) worked by reading a single set of packets from the USB
      device, then processing all the packets with in. It would be nice to use
      the same behaviour with driver model.
      
      Add a flag to the receive method which indicates that the driver should try
      to find a packet if available, by consulting the hardware. When the flag is
      not set, it should just return any packet data it has already received. If
      there is none, it should return -EAGAIN so that the loop will terminate.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      a1ca92ea
  19. May 21, 2015
  20. May 19, 2015
  21. Apr 18, 2015
Loading