]> git.sur5r.net Git - u-boot/commit
fastboot: Add USB cable detect check
authorRob Herring <robh@kernel.org>
Mon, 26 Jan 2015 21:14:41 +0000 (15:14 -0600)
committerMarek Vasut <marex@denx.de>
Wed, 25 Feb 2015 16:47:02 +0000 (17:47 +0100)
commit7c23bcb93fd44026c737c0f102262f98b5a08ea9
tree67ce6f4e08aa278611eede9fcedf611bd311851d
parent897923819cda6f26fe8a5921c595871526ab6a9c
fastboot: Add USB cable detect check

Add a check for USB cable attached and only enter fastboot when a cable
is attached.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Steve Rae <srae@broadcom.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
common/cmd_fastboot.c