1. 28 4月, 2020 1 次提交
  2. 12 8月, 2019 2 次提交
  3. 01 2月, 2019 1 次提交
  4. 25 1月, 2019 1 次提交
  5. 07 12月, 2018 2 次提交
  6. 27 11月, 2018 1 次提交
  7. 11 10月, 2018 1 次提交
  8. 07 5月, 2018 1 次提交
    • T
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini 提交于
      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: NTom Rini <trini@konsulko.com>
      83d290c5
  9. 09 4月, 2018 1 次提交
    • A
      net: Move enetaddr env access code to env config instead of net config · 9925f1db
      Alex Kiernan 提交于
      In order that we can use eth_env_* even when CONFIG_NET isn't set, move
      these functions to environment code from net code.
      
      This fixes failures such as:
      
        board/ti/am335x/built-in.o: In function `board_late_init':
        board/ti/am335x/board.c:752: undefined reference to `eth_env_set_enetaddr'
        u-boot/board/ti/am335x/board.c:766: undefined reference to `eth_env_set_enetaddr'
      
      which caters for use cases such as:
      
      commit f411b5cc ("board: am335x: Always set eth/eth1addr environment
      variable")
      
      when Ethernet is required in Linux, but not U-Boot.
      Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com>
      9925f1db
  10. 04 10月, 2017 2 次提交
  11. 16 8月, 2017 2 次提交
  12. 17 1月, 2017 1 次提交
  13. 10 1月, 2017 1 次提交
  14. 05 12月, 2016 1 次提交
  15. 03 12月, 2016 5 次提交
  16. 24 9月, 2016 1 次提交
  17. 06 2月, 2016 1 次提交
  18. 20 11月, 2015 1 次提交
  19. 12 9月, 2015 1 次提交
  20. 20 8月, 2015 2 次提交
  21. 19 4月, 2015 2 次提交
  22. 14 4月, 2015 2 次提交
  23. 25 3月, 2015 1 次提交
  24. 12 12月, 2014 1 次提交
  25. 26 8月, 2014 1 次提交
    • H
      lib, linux: move linux specific defines to linux/compat.h · 0c06db59
      Heiko Schocher 提交于
      - move linux specific defines from usb and video code
        into linux/compat.h
      - move common linux specific defines from include/ubi_uboot.h
        to linux/compat.h
      - add for new mtd/ubi/ubifs sync new needed linux specific
        defines to linux/compat.h
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Anatolij Gustschin <agust@denx.de>
      [trini: Add spin_lock_irqsave/spin_unlock_irqrestore dummies from
      usb/lin_gadet_compat.h]
      Signed-off-by: NTom Rini <trini@ti.com>
      0c06db59
  26. 21 10月, 2013 2 次提交
    • T
      usb: gadget: ether: return error from rx_submit if no request · 71fc5f91
      Troy Kisky 提交于
      This prevents a crash if tftpboot is given a bad filename.
      
      rx_req will be released by eth_reset_config
      which is called by eth_disconnect,
      which is called using the .disconnect member of usb_gadget_driver by mv_pullup in mv_udc
      which is called using the .pullup member of usb_gadget_ops by usb_gadget_disconnect
      which is called by usb_eth_halt
      which is called using the .halt member of eth_device by eth_halt
      which is called by TftpHandler when TFTP_ERR_FILE_NOT_FOUND or TFTP_ERR_ACCESS_DENIED occurs
      
      I trigger this with the following commands
      setenv ipaddr 10.0.0.2 && setenv netmask 255.255.255.0 && setenv serverip 10.0.0.1
      setenv usbnet_devaddr 00:11:22:33:44:55 && setenv usbnet_hostaddr 00:aa:bb:cc:dd:ee
      setenv ethprime usb_ether && setenv ethact usb_ether && setenv ncip 10.0.0.1
      tftpboot 10800000 10.0.0.1:missing_file
      Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
      71fc5f91
    • T
      usb: gadget: ether set wMaxPacketSize · 43880ce5
      Troy Kisky 提交于
      set wMaxPacketSize for full speed descriptors
      fs_source_desc, fs_sink_desc to 64.
      
      Full-speed bulk endpoint can have a maximum packet size of
      8, 16, 32, or 64 bytes, so choice 64.
      
      The hs_source_desc, hs_sink_desc, already have their wMaxPacketSize
      set to 512. That is the only legal value for high speed bulk endpoints.
      
      Strictly speaking, this patch is not needed because
      usb_ep_autoconfig will call ep_matches which will
      override wMaxPacketSize for BULK endpoints only with
      the size associated with the endpoint setup by the udc driver.
      But if you want to rely on this, you may as well combine the
      full speed descriptor with the high speed descriptor to
      minimize confusion.
      Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
      43880ce5
  27. 24 9月, 2013 1 次提交
    • J
      usb: gadget: Fix data aborts during USB ethernet boot · 5290759c
      Joel Fernandes 提交于
      As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned
      on 4 byte boundaray causing data aborts in eth_setup -> conf_buf
      during dhcp boot over usb_ether. Fix the issue my aligning control_req
      buffer using DEFINE_CACHE_ALIGN_BUFFER.
      
      Tested on am335x_evm platform (beaglebone).
      Applies on 2013.10-rc1 branch.
      
      Cc: Tom Rini <trini@ti.com>
      Cc: Marek Vasut <marex@denx.de>
      Signed-off-by: NJoel Fernandes <joelf@ti.com>
      5290759c
  28. 24 7月, 2013 1 次提交