summaryrefslogtreecommitdiff
path: root/include/sata.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sata.h')
-rw-r--r--include/sata.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/sata.h b/include/sata.h
new file mode 100644
index 00000000000..868e89464f0
--- /dev/null
+++ b/include/sata.h
@@ -0,0 +1,15 @@
+#ifndef __SATA_H__
+#define __SATA_H__
+
+#include <stdbool.h>
+
+int sata_probe(int devnum);
+int sata_remove(int devnum);
+
+/*
+ * Remove existing AHCI SATA device uclass and all of its children,
+ * if any, and probe it again.
+ */
+int sata_rescan(bool verbose);
+
+#endif