]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/ahci.h
ARM: tegra: increase console buffer size and sys args num
[karo-tx-uboot.git] / include / ahci.h
index 6d917121c67bc5e60b11ccb06bb094e8bbfbc159..a956c6ff5df78c37c0a66cdde88772dd251f34a3 100644 (file)
@@ -135,17 +135,21 @@ struct ahci_sg {
 };
 
 struct ahci_ioports {
-       u32     cmd_addr;
-       u32     scr_addr;
-       u32     port_mmio;
+       void __iomem    *cmd_addr;
+       void __iomem    *scr_addr;
+       void __iomem    *port_mmio;
        struct ahci_cmd_hdr     *cmd_slot;
        struct ahci_sg          *cmd_tbl_sg;
-       u32     cmd_tbl;
+       ulong   cmd_tbl;
        u32     rx_fis;
 };
 
 struct ahci_probe_ent {
+#ifdef CONFIG_DM_PCI
+       struct udevice *dev;
+#else
        pci_dev_t       dev;
+#endif
        struct ahci_ioports     port[AHCI_MAX_PORTS];
        u32     n_ports;
        u32     hard_port_no;