summaryrefslogtreecommitdiff
path: root/cmd/sata.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-01-27 19:54:41 -0500
committerTom Rini <trini@konsulko.com>2020-01-27 19:54:41 -0500
commit0ab16bf3b72c3f89b29048fcd6d11a51aedd786d (patch)
tree8714a55ade4b47f4f80c15003cbfb5f5c50ca178 /cmd/sata.c
parent051e03c0d76b7ce9d4649f76f5be979d8f88e765 (diff)
parentb852cca8f0d863bd31ae72c5a5f241da73b8745f (diff)
Merge branch '2020-01-27-master-imports'
- Add Dialog DA9063 PMIC support - s35392a RTC bugfix - Allow for opt-in of removal of DTB properties from the resulting binary.
Diffstat (limited to 'cmd/sata.c')
-rw-r--r--cmd/sata.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/sata.c b/cmd/sata.c
index a73cc54bd3e..6bdb516cb5d 100644
--- 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);