mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 12:44:23 +08:00
ata: Fix ahci wording
s/achi_/ahci_/g Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
dea4d2f01d
commit
e81589ea44
@ -1026,7 +1026,7 @@ void scsi_low_level_init(int busdevfunc)
|
||||
|
||||
#ifndef CONFIG_SCSI_AHCI_PLAT
|
||||
# if defined(CONFIG_DM_PCI) || defined(CONFIG_DM_SCSI)
|
||||
int achi_init_one_dm(struct udevice *dev)
|
||||
int ahci_init_one_dm(struct udevice *dev)
|
||||
{
|
||||
struct ahci_uc_priv *uc_priv = dev_get_uclass_priv(dev);
|
||||
|
||||
@ -1035,7 +1035,7 @@ int achi_init_one_dm(struct udevice *dev)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
int achi_start_ports_dm(struct udevice *dev)
|
||||
int ahci_start_ports_dm(struct udevice *dev)
|
||||
{
|
||||
struct ahci_uc_priv *uc_priv = dev_get_uclass_priv(dev);
|
||||
|
||||
|
@ -85,7 +85,7 @@ static int dwc_ahci_probe(struct udevice *dev)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return achi_start_ports_dm(dev);
|
||||
return ahci_start_ports_dm(dev);
|
||||
}
|
||||
|
||||
static const struct udevice_id dwc_ahci_ids[] = {
|
||||
|
@ -118,11 +118,11 @@ static int sata_ceva_probe(struct udevice *dev)
|
||||
|
||||
ceva_init_sata(plat->base);
|
||||
|
||||
ret = achi_init_one_dm(dev);
|
||||
ret = ahci_init_one_dm(dev);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return achi_start_ports_dm(dev);
|
||||
return ahci_start_ports_dm(dev);
|
||||
}
|
||||
|
||||
static const struct udevice_id sata_ceva_ids[] = {
|
||||
|
@ -234,18 +234,18 @@ int ahci_init(void __iomem *base);
|
||||
int ahci_reset(void __iomem *base);
|
||||
|
||||
/**
|
||||
* achi_init_one_dm() - set up a single AHCI port
|
||||
* ahci_init_one_dm() - set up a single AHCI port
|
||||
*
|
||||
* @dev: Controller to init
|
||||
*/
|
||||
int achi_init_one_dm(struct udevice *dev);
|
||||
int ahci_init_one_dm(struct udevice *dev);
|
||||
|
||||
/**
|
||||
* achi_start_ports_dm() - start all AHCI ports for a controller
|
||||
* ahci_start_ports_dm() - start all AHCI ports for a controller
|
||||
*
|
||||
* @dev: Controller containing ports to start
|
||||
*/
|
||||
int achi_start_ports_dm(struct udevice *dev);
|
||||
int ahci_start_ports_dm(struct udevice *dev);
|
||||
|
||||
/**
|
||||
* ahci_init_dm() - init AHCI for a controller, finding all ports
|
||||
|
Loading…
Reference in New Issue
Block a user