mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 06:12:58 +00:00
Xilinx fix for v2017.11
- Fix ceva sata initialization -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAln8KbwACgkQykllyylKDCG3EQCdE/B096C5aiISJ6brvxI7rr0j nGIAn3WCUHu5o/zpbvyNvaXowsuLuQ9K =yS0D -----END PGP SIGNATURE----- Merge tag 'xilinx-fixes-for-v2017.11' of git://www.denx.de/git/u-boot-microblaze Xilinx fix for v2017.11 - Fix ceva sata initialization
This commit is contained in:
commit
804dcf771a
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)
|
static int sata_ceva_probe(struct udevice *dev)
|
||||||
{
|
{
|
||||||
|
int ret;
|
||||||
struct scsi_platdata *plat = dev_get_uclass_platdata(dev);
|
struct scsi_platdata *plat = dev_get_uclass_platdata(dev);
|
||||||
|
|
||||||
ceva_init_sata(plat->base);
|
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[] = {
|
static const struct udevice_id sata_ceva_ids[] = {
|
||||||
|
|
Loading…
Reference in a new issue