projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cmd: eeprom: Staticize eeprom_i2c_bus
[oweals/u-boot.git]
/
cmd
/
sata.c
diff --git
a/cmd/sata.c
b/cmd/sata.c
index a73cc54bd3e97b7ad535a52fc153697e74e37e69..6bdb516cb5d0cd3c71fb608c063eb0dfea6acbde 100644
(file)
--- a/
cmd/sata.c
+++ b/
cmd/sata.c
@@
-26,6
+26,8
@@
int sata_remove(int devnum)
struct udevice *dev;
int rc;
+ blk_unbind_all(IF_TYPE_SATA);
+
rc = uclass_find_device(UCLASS_AHCI, devnum, &dev);
if (!rc && !dev)
rc = uclass_find_first_device(UCLASS_AHCI, &dev);