From bbc523146cfe732eef2ed81fee73c93b1c8e3b34 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 4 Nov 2011 12:06:06 +0100 Subject: libpayload: Implement usb_exit So far it was empty and never published. It now exists and shuts down all controllers (esp. EHCI which resets the port routers). Change-Id: I81e355e8a05778d6397675417b085a094a6f48ee Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/397 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- payloads/libpayload/include/libpayload.h | 1 + 1 file changed, 1 insertion(+) (limited to 'payloads/libpayload/include') diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index 80eaaa40b7..0e892c80cd 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -123,6 +123,7 @@ void rtc_read_clock(struct tm *tm); * @{ */ int usb_initialize(void); +int usb_exit (void); int usbhid_havechar(void); int usbhid_getchar(void); /** @} */ -- cgit v1.2.3