[U-Boot] [PATCH 01/24] usb: add device connection/disconnection detection

Simon Glass sjg at chromium.org
Wed May 13 00:40:38 CEST 2015


On 4 May 2015 at 11:30, Simon Glass <sjg at chromium.org> wrote:
>
> From: Vincent Palatin <vpalatin at chromium.org>
>
> Provide a function to detect USB device insertion/removal in order to
> avoid having to do USB enumeration in a tight loop when trying to detect
> peripheral hotplugging.
>
> Signed-off-by: Vincent Palatin <vpalatin at chromium.org>
>
> Reviewed-by: Stefan Reinauer <reinauer at chromium.org>
> Tested-by: Stefan Reinauer <reinauer at chromium.org>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  common/usb.c     | 26 ++++++++++++++++++++++++++
>  common/usb_hub.c |  2 +-
>  include/usb.h    |  2 ++
>  3 files changed, 29 insertions(+), 1 deletion(-)

Applied to u-boot-dm, thanks Vincent.


More information about the U-Boot mailing list