mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
scsi: ceva: Start port in probe
The patch:
"dm: ahci: Unwind the confusing init code"
(sha1: 7cf1afce7f
)
introduce bug for ceva sata because port didn't start.
On the other hand the dwc_ahci.c was fixed correctly.
Do the same change for ceva too.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Tested-by: Mian Yousaf Kaukab <yousaf.kaukab@suse.com>
This commit is contained in:
parent
a0cdb534e1
commit
cba64a2a73
1 changed files with 6 additions and 1 deletions
|
@ -113,11 +113,16 @@ static int ceva_init_sata(ulong mmio)
|
|||
|
||||
static int sata_ceva_probe(struct udevice *dev)
|
||||
{
|
||||
int ret;
|
||||
struct scsi_platdata *plat = dev_get_uclass_platdata(dev);
|
||||
|
||||
ceva_init_sata(plat->base);
|
||||
|
||||
return achi_init_one_dm(dev);
|
||||
ret = achi_init_one_dm(dev);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return achi_start_ports_dm(dev);
|
||||
}
|
||||
|
||||
static const struct udevice_id sata_ceva_ids[] = {
|
||||
|
|
Loading…
Reference in a new issue