mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
5df1ee4594
While a board could have multiple SATA ports, some of the ports might not have a disk attached to them. So while probing for disks, sata_mv_probe() should continue probing all ports, and skip one with no disk attached. Tests with: - Seagate Goflex Net (Marvell Kirkwood 88F6281) out-of-tree u-boot. - Zyxel NSA325 (Marvell Kirkwood 88F6282 out-of-tree u-boot. Observation: If a board has 2 or more SATA ports, and there is only one disk attached to one of the ports, sata_mv_probe() does not return a successful probe status. And if only one disk is attached to the 2nd port (i.e. port 1), it is not probed at all. Patch Description: Let sata_mv_probe() continues probing all ports, even if there is error in probing a given port, and then return a successful status if there is at least one port was probed successfully. Signed-off-by: Tony Dinh <mibodhi@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> |
||
---|---|---|
.. | ||
ahci-pci.c | ||
ahci-uclass.c | ||
ahci.c | ||
ahci_mvebu.c | ||
ahci_sunxi.c | ||
dwc_ahci.c | ||
dwc_ahsata.c | ||
dwc_ahsata_priv.h | ||
fsl_sata.c | ||
fsl_sata.h | ||
Kconfig | ||
libata.c | ||
Makefile | ||
mtk_ahci.c | ||
sata.c | ||
sata_ceva.c | ||
sata_mv.c | ||
sata_sandbox.c | ||
sata_sil.c | ||
sata_sil.h | ||
sata_sil3114.c | ||
sata_sil3114.h |