[U-Boot] [PATCH v3 0/8] usb: ss: Some fixes and cleanup for USB super-speed support

Vivek Gautam gautam.vivek at samsung.com
Fri Apr 12 13:04:32 CEST 2013


Based on 'u-boot-usb' master branch.

This patch-series includes majorly some clean-up, few fixes and
then some basic super-speed usb infrastructure addition, to help
put support for XHCI in near future.

Changes from v2:
 - Added a patch "usb: common: Weed out USB_**_PRINTFs from usb framework"
   to replace USB_***_PRINTF with debug() so as to get rid of unnecessary
   DEBUG macros in usb common framework and thereby rebasing other patches
   on top of this so that no USB_PRINTF appears further.
 - Added a patch to reset only USB 2.0 ports, since USB 3.0 protocol ports
   don't require a reset to happen to move to 'enabled' state.
 - Added a patch to move definition of 'min3()' out of ehci-hcd and putting
   the same as macro definition in common header.
 - Using a 'switch-case' in portspeed() in cmd_usb.c

Changes from v1:
 - Fixing the issue with 'ifno' as well as added 'if_desc'.
 - Instead of turning-on only powered-off hub ports, power-cycle all
   the hub ports (aka: turning off and then turning on again power to
   all the ports.
 - Fixing commenting style problem in
   'usb: Update device class in usb device's descriptor'
 - Fixing typo in commit message for
   'usb: hub: Fix enumration timeout'
 - Removing separate definition for 'struct usb_ep_desc'; thereby adding
   'struct usb_ss_ep_comp_descriptor' to 'struct usb_interface' only.
   As a result modifying the patch accordingly also dropping the patch
   'usb: eth: Fix for updated usb interface descriptor structure'
 - Dropping the patch 'usb: hub: Increase device enumeration timeout for broken
   drives' for now (will come back with a solution at later point of time).

Vivek Gautam (8):
  usb: common: Weed out USB_**_PRINTFs from usb framework
  USB: Some cleanup prior to USB 3.0 interface addition
  usb: hub: Power-cycle on root-hub ports
  usb: Update device class in usb device's descriptor
  usb: hub: Fix enumration timeout
  USB: SS: Add support for Super Speed USB interface
  usb: hub: Reset only usb 2.0 ports
  usb: common: Use a global macro for 'min3'

 common/cmd_usb.c            |   24 +++-
 common/usb.c                |  116 +++++++++---------
 common/usb_hub.c            |  228 ++++++++++++++++++++---------------
 common/usb_kbd.c            |   24 ++---
 common/usb_storage.c        |  283 +++++++++++++++++++++----------------------
 drivers/usb/host/ehci-hcd.c |   10 --
 include/common.h            |    2 +
 include/usb.h               |    6 +
 include/usb_defs.h          |   26 ++++-
 9 files changed, 389 insertions(+), 330 deletions(-)

-- 
1.7.6.5



More information about the U-Boot mailing list