u-boot-brain/drivers
Siva Durga Prasad Paladugu 771e76515e usb: composite: Fix max packet size for USB3.0
For USB3.0, the max packetsize for GET_DESCRIPTOR should be
sent as exponent value for 2. This means for 512, max packet
size should be filled with 9(2^9=512). Also, fill the USB
version field with 3.0 if speed is negotiated to Superspeed.
This fixes the issue of DFU gadget download failure with
superspeed. Without this patch, the max packet size is
overflowed to zero as the bMaxPacketsize is of u8 and hence
host is not able to detect this device.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2018-12-14 17:59:10 +01:00
..
adc dm: adc: add uclass's mask and conversion helpers 2018-11-20 12:35:25 -05:00
ata scsi: ceva: add ls2080a soc support 2018-12-06 14:38:03 -08:00
axi drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
bios_emulator bios_emulator: remove assignment without effect 2018-07-23 14:33:21 -04:00
block blk: Rework guard around part_init call 2018-12-12 12:14:22 -05:00
board drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
bootcount bootcount: add a DM RTC backing store for bootcount 2018-12-10 10:04:45 +01:00
clk clk: stm32: add hardware spinlock clock 2018-12-06 23:26:32 -05:00
core Merge branch 'master' of git://git.denx.de/u-boot-i2c 2018-12-10 07:16:33 -05:00
cpu cpu: mpc83xx: Remove unnecessary characters in the description string 2018-11-14 09:16:27 -08:00
crypto SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr Add TFA boot flow for some Layerscape platforms 2018-12-10 17:19:59 -05:00
demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu dfu: nand: Add missing dependency on CMD_MTDPARTS 2018-11-13 18:53:10 +05:30
dma test: dma: add dma-uclass test 2018-12-07 08:13:45 -05:00
fastboot drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
firmware firmware: psci: introduce SPL_ARM_PSCI_FW 2018-12-12 12:14:25 -05:00
fpga arm: socfpga: fpga: fix type of local variable 2018-10-31 01:41:10 +01:00
gpio gpio: stm32f7: Remove CONFIG_CLK flag. 2018-12-07 08:13:48 -05:00
hwspinlock hwspinlock: add stm32 hardware spinlock support 2018-12-06 23:26:33 -05:00
i2c i2c: tegra: Fix regression by implementing a dummy probe_chip() callback 2018-12-12 06:06:14 +01:00
input input: i8042: Use remove() instead of exported functions 2018-12-05 06:01:35 -07:00
led dm: led: move default state support in led uclass 2018-08-10 10:27:32 -04:00
mailbox drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc Add TFA boot flow for some Layerscape platforms 2018-12-10 17:19:59 -05:00
mmc lib: merge CRC16-CCITT into u-boot/crc.h 2018-12-08 20:18:32 -05:00
mtd Merge branch 'master' of git://git.denx.de/u-boot-spi 2018-12-05 15:06:24 -05:00
net Add TFA boot flow for some Layerscape platforms 2018-12-10 17:19:59 -05:00
nvme blk: Call part_init() in the post_probe() method 2018-11-14 09:16:27 -08:00
pch SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci video: Allow driver to specify the line length 2018-12-03 19:09:44 +01:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
phy phy: omap_usb2: Add support for am437x 2018-12-14 17:59:09 +01:00
pinctrl Two fixes for the Amlogic Pinctrl driver : 2018-12-07 19:01:09 -05:00
power Improvements: 2018-12-10 10:19:09 -05:00
pwm pwm: sunxi: choose best prescaler to improve PWM resolution 2018-10-24 21:57:16 +05:30
qe drivers: qe: add TFABOOT support 2018-12-06 14:37:51 -08:00
ram rockchip: rk322x: ram: enable DRAM init in SPL instead of TPL 2018-12-10 10:04:44 +01:00
remoteproc spl: Allow remoteproc drivers to be used within SPL 2018-09-11 08:32:55 -04:00
reset drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
rtc rtc: m41t62: Convert the RTC driver to support the driver model (DM) 2018-12-03 10:44:10 -05:00
scsi blk: Call part_init() in the post_probe() method 2018-11-14 09:16:27 -08:00
serial spl: fix build failure with !CONFIG_SPL_PCI_SUPPORT 2018-12-12 12:14:23 -05:00
smem drivers: smem: sandbox 2018-07-19 16:31:38 -04:00
soc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sound sound: Add sample rate as a parameter for square wave 2018-11-29 09:30:05 -07:00
spi Merge branch 'master' of git://git.denx.de/u-boot-spi 2018-12-05 15:06:24 -05:00
spmi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset sandbox: sysreset: Update to support power-on reset 2018-12-05 06:01:34 -07:00
tee tee: add sandbox driver 2018-10-07 11:04:01 -04:00
thermal SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer timer: MediaTek: add timer driver for MediaTek SoCs 2018-11-28 23:04:51 -05:00
tpm tpm: Export the open/close functions 2018-11-29 09:30:06 -07:00
usb usb: composite: Fix max packet size for USB3.0 2018-12-14 17:59:10 +01:00
video Minor sandbox enhancements / fixes 2018-12-05 20:32:25 -05:00
virtio virtio: Add a Sandbox transport driver 2018-11-14 09:16:28 -08:00
w1 w1: fix occasional enumeration failure 2018-12-06 17:15:15 -05:00
w1-eeprom w1-eeprom: Add support for Maxim DS2502 add only memory 2018-11-16 16:51:55 -05:00
watchdog drivers: watchdog: add a DM driver for the MPC8xx watchdog 2018-12-03 10:44:10 -05:00
Kconfig dm: Add Hardware Spinlock class 2018-12-06 23:26:32 -05:00
Makefile spl: drivers: Link usb common library to SPL if USB gadget is enabled 2018-12-14 17:59:09 +01:00