summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-12-29 09:40:40 +0200
committerFelix Held <felix-coreboot@felixheld.de>2019-01-06 13:19:05 +0000
commit63649d24fd616dad397a4ae18f9aede43c6ce2dc (patch)
treedf6c66c50a330d79d81c315f43547f0fdc45978e /src/include
parenta144e4d6fa93b9ba129b3aa8991cc5fb2ec3c8a6 (diff)
downloadcoreboot-63649d24fd616dad397a4ae18f9aede43c6ce2dc.tar.xz
usbdebug: Refactor init calls
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 <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/30557 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/console/usb.h1
1 files changed, 1 insertions, 0 deletions
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 <stdint.h>
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);