u-boot/drivers/ata
Tony Dinh 5df1ee4594 arm: mvebu : sata_mv should probe all ports
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>
2021-09-10 09:01:51 +02:00
..
ahci-pci.c ata: ahci-pci: Use scsi_ops to initialize ops 2021-07-06 14:07:36 -04:00
ahci-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
ahci.c ata: ahci: fix ahci_link_up() type mismatch for LTO 2021-05-24 14:21:30 -04:00
ahci_mvebu.c sata: ahci_mvebu.c: Enable AHCI/SATA driver for MIPS Octeon 2021-04-23 21:22:55 +02:00
ahci_sunxi.c ata: sunxi: fix debug messages 2021-01-31 23:55:56 +00:00
dwc_ahci.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
dwc_ahsata.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
dwc_ahsata_priv.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_sata.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
fsl_sata.h ata: fsl_sata: Add DM support for Freescale PowerPC SATA driver 2019-11-19 14:11:44 +05:30
Kconfig ata: Make LIBATA means AHCI is enabled mandatory. 2021-05-11 09:14:56 -04:00
libata.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Makefile drivers: ata: Remove mvsata_ide driver 2021-04-10 07:59:30 -04:00
mtk_ahci.c ahci: mediatek: fix undefined reference of dev_err 2021-03-19 10:35:19 -04:00
sata.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
sata_ceva.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
sata_mv.c arm: mvebu : sata_mv should probe all ports 2021-09-10 09:01:51 +02:00
sata_sandbox.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
sata_sil.c pci: sata_sil: Drop DM_PCI checks 2021-08-06 08:21:03 -04:00
sata_sil.h pci: sata_sil: Drop DM_PCI checks 2021-08-06 08:21:03 -04:00
sata_sil3114.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sata_sil3114.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00