summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-01-10 08:19:33 -0500
committerTom Rini <trini@konsulko.com>2017-01-10 08:19:33 -0500
commit04770e6e917b0f766a9496e3f37bcdf2ebb1beb4 (patch)
treefeb9550344f45c1c344fdd3a067de0ba28403991 /common
parent86f21c96f46736825d8a9269dfbe31ef7991a7e6 (diff)
parentf8f41ae668040d58271e03bc85b58e13becb14af (diff)
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'common')
-rw-r--r--common/scsi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/scsi.c b/common/scsi.c
index e7efa5ae797..fb5b407f6b1 100644
--- a/common/scsi.c
+++ b/common/scsi.c
@@ -559,6 +559,8 @@ int scsi_scan(int mode)
if (mode == 1)
printf("scanning bus for devices...\n");
+ blk_unbind_all(IF_TYPE_SCSI);
+
ret = uclass_get(UCLASS_SCSI, &uc);
if (ret)
return ret;