Skip to content
Snippets Groups Projects
Commit 351e9b20 authored by Przemyslaw Marczak's avatar Przemyslaw Marczak Committed by Marek Vasut
Browse files

usb: ums: add ums exit feature by ctrl+c or by detach usb cable


This patch allows exiting from UMS mode to u-boot prompt
by detaching usb cable or by pressing ctrl+c.

Add new config: CONFIG_USB_CABLE_CHECK. If defined then board
file should provide function: usb_cable_connected() (include/usb.h)
that return 1 if cable is connected and 0 otherwise.

Changes v2:
- add a note to the README

Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
Cc: Marek Vasut <marex@denx.de>
parent 4b19ed6c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment