summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/usbstring.c
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2013-10-23 14:30:46 +0200
committerMarek Vasut <marex@denx.de>2013-11-08 20:46:19 +0100
commit351e9b206934c2d4a6a0acd1547caf077e4e675c (patch)
tree6914a94379d73081a2f61f35e7d9d865ced5f5a5 /drivers/usb/gadget/usbstring.c
parent4b19ed6c765eb7f8a8873ab05db5c2dfca7f554a (diff)
downloadu-boot-imx-351e9b206934c2d4a6a0acd1547caf077e4e675c.zip
u-boot-imx-351e9b206934c2d4a6a0acd1547caf077e4e675c.tar.gz
u-boot-imx-351e9b206934c2d4a6a0acd1547caf077e4e675c.tar.bz2
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: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb/gadget/usbstring.c')
0 files changed, 0 insertions, 0 deletions