mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
ahci: Support non-PCI controllers
At present the AHCI SCSI driver only supports PCI with driver model. Rename the existing function to indicate this and add support for adding a non-PCI controller . Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Jaehoon Chung
parent
6364a5d4bd
commit
745a94f352
@@ -218,8 +218,20 @@ int ahci_bind_scsi(struct udevice *ahci_dev, struct udevice **devp);
|
||||
* devices it finds.
|
||||
*
|
||||
* @ahci_dev: AHCI parent device
|
||||
* @base: Base address of AHCI port
|
||||
* @return 0 if OK, -ve on error
|
||||
*/
|
||||
int ahci_probe_scsi(struct udevice *ahci_dev);
|
||||
int ahci_probe_scsi(struct udevice *ahci_dev, ulong base);
|
||||
|
||||
/**
|
||||
* ahci_probe_scsi_pci() - probe and scan the attached SCSI bus on PCI
|
||||
*
|
||||
* Note that the SCSI device will itself bind block devices for any storage
|
||||
* devices it finds.
|
||||
*
|
||||
* @ahci_dev: AHCI parent device
|
||||
* @return 0 if OK, -ve on error
|
||||
*/
|
||||
int ahci_probe_scsi_pci(struct udevice *ahci_dev);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user