projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: eth: Add basic driver model support to Ethernet stack
[platform/kernel/u-boot.git]
/
common
/
cmd_fastboot.c
diff --git
a/common/cmd_fastboot.c
b/common/cmd_fastboot.c
index
30bfc9b
..
d52ccfb
100644
(file)
--- a/
common/cmd_fastboot.c
+++ b/
common/cmd_fastboot.c
@@
-23,6
+23,8
@@
static int do_fastboot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
if (!g_dnl_board_usb_cable_connected()) {
puts("\rUSB cable not detected.\n" \
"Command exit.\n");
+ g_dnl_unregister();
+ g_dnl_clear_detach();
return CMD_RET_FAILURE;
}