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>
This commit is contained in:
committed by
Wolfgang Denk
parent
e5a6c79d42
commit
942e31437d
@@ -46,7 +46,7 @@
|
||||
#define SCSI_VEND_ID 0x10b9
|
||||
#define SCSI_DEV_ID 0x5288
|
||||
|
||||
#else
|
||||
#elif !defined(CONFIG_SCSI_AHCI_PLAT)
|
||||
#error no scsi device defined
|
||||
#endif
|
||||
|
||||
@@ -174,7 +174,7 @@ removable:
|
||||
scsi_curr_dev = -1;
|
||||
}
|
||||
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
void scsi_init(void)
|
||||
{
|
||||
int busdevfunc;
|
||||
@@ -192,6 +192,7 @@ void scsi_init(void)
|
||||
scsi_low_level_init(busdevfunc);
|
||||
scsi_scan(1);
|
||||
}
|
||||
#endif
|
||||
|
||||
block_dev_desc_t * scsi_get_dev(int dev)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user