]> git.sur5r.net Git - u-boot/commit
sata: fix a bug in init_sata() for pci-sata card
authorli pengbo <Pengbo.Li@freescale.com>
Wed, 12 Nov 2014 11:16:40 +0000 (19:16 +0800)
committerTom Rini <trini@ti.com>
Sun, 23 Nov 2014 11:49:01 +0000 (06:49 -0500)
commit1b51d32c0f0ac7cdcab0ae04d531129a020cc903
tree5371840500ac23e3b8c6668aac6653998365f77c
parentf333b9f7bc63dc8dbb4397af573852f50a76f00c
sata: fix a bug in init_sata() for pci-sata card

Except the first loop, init_sata() should return 0 instead of 1
in the others.

This patch fix the issue of the 2nd sata port not workable on pci-sata card.

Signed-off-by: Pengbo Li <Pengbo.Li@freescale.com>
drivers/block/sata_sil.c