[coreboot-gerrit] Patch merged into coreboot/master: ea0bdf2 libpayload: Add zero length packet support to UDC framework
gerrit at coreboot.org
gerrit at coreboot.org
Sat Apr 18 08:40:31 CEST 2015
the following patch was just integrated into master:
commit ea0bdf2d547dd1ade20880d8e3d39ee0f77fe212
Author: Patrick Georgi <pgeorgi at google.com>
Date: Mon Feb 16 17:00:59 2015 +0100
libpayload: Add zero length packet support to UDC framework
Some IN transfers must be terminated by an empty packet
because otherwise the host wouldn't know.
The zlp() function determines this requirement in
accordance to USB rules: If the transfer's size is aligned
to the maximum packet size, and the host expects a larger
transfer, add the empty packet as a hint.
BRANCH=none
BUG=none
TEST=USB device mode still works
Change-Id: Ia69f3d017f72a3a0e0b21bac72fe97be184c7daa
Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
Original-Commit-Id: fd0e946e4948a74a9ed15a5eed6ce827b7672a56
Original-Change-Id: I8153cc5bd2ff1c88e383c1dbcddaf1bf72f9194c
Original-Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/250790
Original-Reviewed-by: Furquan Shaikh <furquan at chromium.org>
Reviewed-on: http://review.coreboot.org/9784
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
See http://review.coreboot.org/9784 for details.
-gerrit
More information about the coreboot-gerrit
mailing list