From 63649d24fd616dad397a4ae18f9aede43c6ce2dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 29 Dec 2018 09:40:40 +0200 Subject: usbdebug: Refactor init calls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Expose the function that can unconditionally re-initialise EHCI debug host and gadget. Given the missing header in soc/intel files that prevented building with USBDEBUG_IN_ROMSTAGE=y, it is not actually known if those SOCs work at all for usbdebug. Change-Id: I8ae7e144a89a8f7e5f9d307ba4e73d4f96401a79 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/30557 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- 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 78956d7936..45a501d536 100644 --- a/src/include/console/usb.h +++ b/src/include/console/usb.h @@ -21,6 +21,7 @@ #include void usbdebug_init(void); +int usbdebug_hw_init(bool force); void usb_tx_byte(int idx, unsigned char data); void usb_tx_flush(int idx); -- cgit v1.2.3