]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/ahci.h
dm: ahci: Unwind the confusing init code
[people/ms/u-boot.git] / include / ahci.h
index 4262ab75c8886bed260b9c3ef4b8ded3a24efaa2..ec5b0c7d9d781c1f1a3b4ced7382f1b605ba69a7 100644 (file)
@@ -179,4 +179,18 @@ struct ahci_uc_priv {
 int ahci_init(void __iomem *base);
 int ahci_reset(void __iomem *base);
 
+/**
+ * achi_init_one_dm() - set up a single AHCI port
+ *
+ * @dev: Controller to init
+ */
+int achi_init_one_dm(struct udevice *dev);
+
+/**
+ * achi_start_ports_dm() - start all AHCI ports for a controller
+ *
+ * @dev: Controller containing ports to start
+ */
+int achi_start_ports_dm(struct udevice *dev);
+
 #endif