]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/ahci.h
Merge branch 'master' of /home/wd/git/u-boot/custodians
[karo-tx-uboot.git] / include / ahci.h
index b363ee1969fa822bbad4c6536558d94c0854f285..465ea7fcbbb020d6384342076e42153fa8cc6616 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) Freescale Semiconductor, Inc. 2006. All rights reserved.
+ * Copyright (C) Freescale Semiconductor, Inc. 2006.
  * Author: Jason Jin<Jason.jin@freescale.com>
  *         Zhang Wei<wei.zhang@freescale.com>
  *
@@ -25,6 +25,8 @@
 #ifndef _AHCI_H_
 #define _AHCI_H_
 
+#include <pci.h>
+
 #define AHCI_PCI_BAR           0x24
 #define AHCI_MAX_SG            56 /* hardware max is 64K */
 #define AHCI_CMD_SLOT_SZ       32
@@ -187,4 +189,6 @@ struct ahci_probe_ent {
        u32     link_port_map; /*linkup port map*/
 };
 
+int ahci_init(u32 base);
+
 #endif