aboutsummaryrefslogtreecommitdiff
path: root/common/scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/scsi.c')
-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;