From 0108bf5157de24619f644721a82775d578087573 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Wed, 15 Jan 2014 22:26:03 +0200 Subject: usbdebug: Improve receive speed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Read from USB endpoint_in 8 bytes at a time, the maximum what EHCI debug port capability has to offer. Change-Id: I3d012d758a24b24f894e587b301f620933331407 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/4700 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/include/console/usb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/console') diff --git a/src/include/console/usb.h b/src/include/console/usb.h index 47f3d74c36..430557f8f1 100644 --- a/src/include/console/usb.h +++ b/src/include/console/usb.h @@ -32,5 +32,6 @@ int dbgp_bulk_write_x(struct dbgp_pipe *pipe, const char *bytes, int size); int dbgp_bulk_read_x(struct dbgp_pipe *pipe, void *data, int size); void usbdebug_tx_byte(struct dbgp_pipe *pipe, unsigned char data); void usbdebug_tx_flush(struct dbgp_pipe *pipe); +unsigned char usbdebug_rx_byte(struct dbgp_pipe *pipe); #endif /* _CONSOLE_USB_H_ */ -- cgit v1.2.3