07 May, 2018

1 commit

  • 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: Tom Rini

    Tom Rini
     

29 Jul, 2017

4 commits

  • A high speed hub has a special responsibility to handle full speed/
    low speed devices connected on downstream ports. In this case, the
    hub must isolate the high speed signaling environment from the full
    speed/low speed signaling environment with the help of Transaction
    Translator (TT). TT details are provided by hub descriptors and we
    parse and save it to hub uclass_priv for later use.

    Signed-off-by: Bin Meng
    Reviewed-by: Simon Glass

    Bin Meng
     
  • USB 3.0 hub uses a hub depth value multiplied by four as an offset
    into the 'route string' to locate the bits it uses to determine the
    downstream port number. We shall set the hub depth value of a USB
    3.0 hub after it is configured.

    Signed-off-by: Bin Meng
    Reviewed-by: Simon Glass

    Bin Meng
     
  • USB 3.0 hub port status has different bit position regarding to
    port power, port speed, etc. But others are the same as 2.0 hubs.

    Signed-off-by: Bin Meng
    Reviewed-by: Simon Glass
    Reviewed-by: Stefan Roese
    Tested-by: Stefan Roese

    Bin Meng
     
  • Testing a USB 3.0 hub by connecting it to the xHCI port on Intel
    MinnowMax, when issuing 'get hub descriptor' to the hub, xHCI
    reports a transfer event TRB with a completion code 6 which means
    'Stall Error'.

    In fact super speed USB hub descriptor type is 0x2a, not 0x29.
    Sending correct SETUP packet to the hub makes it not stall anymore.

    Signed-off-by: Bin Meng
    Reviewed-by: Simon Glass
    Reviewed-by: Stefan Roese
    Tested-by: Stefan Roese

    Bin Meng
     

19 Apr, 2015

3 commits


21 Oct, 2013

1 commit


24 Jul, 2013

1 commit


06 May, 2013

4 commits


20 Nov, 2012

1 commit

  • Linux usb/ch9.h seems to have all the same information (and more)
    as usbdescriptors.h so use the former instead of the later one.

    As a consequense of this change USB_SPEED_* values don't correspond
    directly to EHCI speed encoding anymore, I've added necessary
    recoding in EHCI driver. Also there is no point to put speed into
    pipe anymore so it's removed and a bunch of host drivers fixed to
    look at usb_device->speed instead.

    Old usbdescriptors.h included is not removed as it seems to be
    used by old USB device code.

    This makes usb.h and usbdevice.h incompatible. Fortunately the
    only place that tries to include both are the old MUSB code and
    it needs usb.h only for USB_DMA_MINALIGN used in aligned attribute
    on musb_regs structure but this attribute seems to be unneeded
    (old MUSB code doesn't support any DMA at all).

    Signed-off-by: Ilya Yanok

    Ilya Yanok
     

29 Jan, 2009

1 commit


02 Aug, 2005

1 commit


01 Aug, 2005

1 commit


21 Jul, 2005

1 commit

  • A new, Windows compatible init sequence was also backported from Linux 2.6,
    but disabled with #undef NEW_INIT_SEQ as it wouldn't change the behaviour
    of the memopry sticks we tested. Maybe it's not relevant for mass storage
    devices. For recerence, see file common/usb.c, function usb_new_device(),
    section #ifdef NEW_INIT_SEQ.

    Wolfgang Denk
     

28 Jun, 2003

1 commit

  • - 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)

    wdenk
     

09 Mar, 2002

1 commit