u-boot/drivers/ata
Tony Dinh ee2ce29223 bootstd: Skip over bad device during bootflows scanning
During bootstd scanning for bootdevs, if bootdev_hunt_drv() encounters
a device not found error (e.g. ENOENT), let it return a successful status
so that bootstd will continue scanning the next devices, not stopping
prematurely.

Background:

During scanning for bootflows, it's possible for bootstd to encounter a
faulty device controller. Also when the same u-boot is used for another
variant of the same board, some device controller such as SATA might
not exist.

I've found this issue while converting the Marvell Sheevaplug board to
use bootstd. This board has 2 variants, the original Sheevaplug has MMC and
USB only, but the later variant comes with USB, MMC, and eSATA ports. We
have been using the same u-boot (starting with CONFIG_IDE and later with DM
CONFIG_SATA) for both variants. This worked well with the old
envs-scripting booting scheme.

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-11-10 11:01:50 -05:00
..
ahci-pci.c ata: ahci-pci: Replace magic constant by macro 2022-12-08 10:46:01 -05:00
ahci-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
ahci.c ata: pci: enable bus mastering 2023-04-25 15:31:28 -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 sunxi: remove CONFIG_SATAPWR 2023-10-22 23:40:47 +01:00
dwc_ahci.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
dwc_ahsata.c blk: Use a macro for the typical block size 2023-10-10 16:19:29 -04: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 blk: Use a macro for the typical block size 2023-10-10 16:19:29 -04:00
fsl_sata.h ata: fsl_sata: Remove legacy non-BLK code 2022-06-28 17:03:31 -04:00
Kconfig ata: don't use SYS_SCSI_MAX_SCSI_ID for SATA 2023-04-06 19:10:08 -04:00
libata.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Makefile bootstd: sata: Add bootstd support for ahci sata 2023-10-23 13:07:12 -04:00
mtk_ahci.c ahci: mediatek: fix undefined reference of dev_err 2021-03-19 10:35:19 -04:00
sata.c bootstd: Skip over bad device during bootflows scanning 2023-11-10 11:01:50 -05:00
sata_bootdev.c bootstd: sata: Add bootstd support for ahci sata 2023-10-23 13:07:12 -04:00
sata_ceva.c scsi: ceva: Use generic_phy_valid() helper 2023-09-13 15:52:20 -04:00
sata_mv.c arm: mvebu: sata_mv: Add bootstd hook to enable sata_bootdev 2023-10-16 11:10:42 +02:00
sata_sandbox.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
sata_sil.c blk: Use a macro for the typical block size 2023-10-10 16:19:29 -04:00
sata_sil.h ata: sata_sil: Remove useless BLK guard in sata_sil.h 2022-06-28 17:03:32 -04:00