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:
Tom Rini 2017-11-03 10:02:29 -04:00
commit 804dcf771a

View file

@ -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[] = {