diff options
author | Rob Herring <rob.herring@calxeda.com> | 2011-07-06 16:13:36 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-07-26 00:06:58 +0200 |
commit | 942e31437d2ba34acab259901b929532ba77390a (patch) | |
tree | 275f3be0420b80538edb2f794a9b52f50119bb20 /include | |
parent | e5a6c79d4299ca8367edb73656ad9e51765ccd66 (diff) | |
download | u-boot-imx-942e31437d2ba34acab259901b929532ba77390a.zip u-boot-imx-942e31437d2ba34acab259901b929532ba77390a.tar.gz u-boot-imx-942e31437d2ba34acab259901b929532ba77390a.tar.bz2 |
scsi/ahci: add support for non-PCI controllers
Add support for AHCI controllers that are not PCI based.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/ahci.h | 4 | ||||
-rw-r--r-- | include/scsi.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ahci.h b/include/ahci.h index 0c6bbbd..465ea7f 100644 --- a/include/ahci.h +++ b/include/ahci.h @@ -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 diff --git a/include/scsi.h b/include/scsi.h index aaafc9c..c52759c 100644 --- a/include/scsi.h +++ b/include/scsi.h @@ -185,6 +185,7 @@ void scsi_low_level_init(int busdevfunc); * functions residing inside cmd_scsi.c */ void scsi_init(void); +void scsi_scan(int mode); #define SCSI_IDENTIFY 0xC0 /* not used */ |