mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
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
@@ -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
|
||||
|
Reference in New Issue
Block a user